How to Find and Replace in Vim

preview_player
Показать описание
Learn how to find and replace text in vim in this video tutorial. In addition to searching in vim, you'll see examples on find next, find previous, find and replace globally and on a single line as well as replace only the first word on each line.

Check out my vlog channel @TonyFlorida

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

Excellent video. Very good explanation of the syntax. The music at the end was rather loud though.

SufianBabri
Автор

Thanks, very nice!! Oh I wish vim was more intuitive or self explanatory. So many commands and shortcuts

ΝικΝοκ
Автор

Thanks Brother!! It had been awhile and I needed this to get my work done!

jonathannewman
Автор

for some reason * + c + i + w + esc(because when i press enter it inserts another line) + <mywordreplacement> then . doesnt work for me. I have to use ctr+n or ctrl+N to select he nexst word before using . what does work is * + c + g + n + <mywordreplacement + esc then . to replace down. Not sure if this is because I am using the lazyvim with its default keymaps.

ricksanchez
Автор

Is there a command to do like a find and replace on a case to case basis? Like we’d check each one before it does the replace.

aaronpham
Автор

This was really useful, thanks for sharing.

DavidReidChannel
Автор

the last lecture on # instead of / is perfect.

dajwen
Автор

thank for the video, it is very helpful. I have one question, how could I replace for example 'is' with 'is not'. that means any string with space in it?

AlesRozmarin
Автор

How do we do this on nano text editor?

mauwiks
Автор

The vim's find and replace so depressed

odinsonicYT
Автор

Great video. Please change the outro though, you might give someone an epileptic seizure.

snowworm
Автор

bro I just do ctrl+H and fill in the fields

MikesGlitch