Advanced Multiline Editing in Neovim

preview_player
Показать описание
In this video I walk through how to use many different techniques to edit multiple lines at once in Neovim. Visual Block Mode, Regex search and replace, vim-visual-multi plugin, and many more!

Remaps:

Gear:

Audo:
Karl Casey @ White Bat Audio

0:00 Intro
0:56 Personal Thoughts
1:37 Selecting Text
4:28 Changing Text
5:20 Surrounding Text
9:15 Multiline Swaps
11:33 Renaming Variables
13:57 Outro

#neovim #coding #programming
Рекомендации по теме
Комментарии
Автор

Wow, I just needed this today morning 😅 the YT algorithm is getting rusty 😂. Thanks buddy! Another great video!

erpelappel
Автор

This was great. Thanks for the regex tips too!

mbwilding
Автор

seems useful - I use a lot of q macros to do a lot of these multi-location editing things, but sometimes it gets awkward or challenging to record a sufficiently accurate macro the first time. The instant visual feedback seems more forgiving.

JamieAlban
Автор

Nice dude, I enjoyed the video. I didn't know you could do this stuff. What are you using to do the key press recording?

cody_codes_youtube
Автор

VERY nice video, thank you!

Question: how have you configured your which-key to show Visual-Multi's menu when pressing m?

farzadmf
Автор

I wanna see more neovim content! new sub!

jettlaggg
Автор

This is great vidoe but I am using mac and C+down and C+Up make the iterm window to move hwo to fix it?

sumitsinghdeode
Автор

I think a lot of these could be done with substitutions, right?

darkarie
Автор

Hey,

I'm struggling to get vim-visual-multi installed in neovim.

I've added this to my config:

{
'mg979/vim-visual-multi',
branch = "master",
lazy = false,
init = function ()
vim.g.VM_maps = {
["Find Under"] = "<C-d>"
}
end,
},

But no luck (unable to run :help visual-multi)

Do you have a video somewhere on how to setup vim-visual-multi in Nvim?

diaryofafounder
Автор

how to change C-down to C-j in mac. because C-down is use as global key in mac to minimize/select mac windows.

suhendrapembelajar
Автор

Am I the only one who cannot select a word using ctrl + n (I tried ctrl + N also)?

husrevmustafalale
Автор

After seeing that you use three monitors and chose the smallest one as your main, and with the number of things connected to your MAC, I highly doubt that you know anything about nvim, let alone advanced stuff. Not to mention that the size of your keyboard is probably equivalent to your knowledge.

dhavyzhn