Vim Commands you NEED TO KNOW #2

preview_player
Показать описание

Vim can be tricky but this series of shorts will help you level up your vim skills. Let's get into it!
Рекомендации по теме
Комментарии
Автор

These vim tips are gold, and this is exactly the right format to gradually increase the knowledge of vim. please keep them coming!

nqvhmvk
Автор

This is the start of an amazing series! Please, keep these going!

fliplucky
Автор

Nerd! Please make a long form video on this….Vim motions and all. We need it.

Laggedskapari
Автор

If anyone's wondering how to match only the word cat on its own, best way is to use word delimiters :%s/<cat>/dog/g

FabioOrtega
Автор

Great, I would say that the g means `for every occurrence in a line` and the % means `for every line`.

tomasemilio
Автор

Dammit, I have been using VI/VIM for decades and I didn't know about the confirmation OR the range command. I usually use the :g/pattern/ global command to find the lines I want changed. Thanks for the video

ksbs
Автор

Thank you very much for what you are doing! Thanks to you, I fell in love with Vim! This is definitely the best channel on this topic, I advise everyone!

vladsamsonov
Автор

Also, Visual mode anything, and then to vim command line, auto selects the range u want to substitute

anandmahamuni
Автор

❤ need more content like this! THANK YOU

Hespus
Автор

This is perfect, these shorts are great!

helolang
Автор

You're an incredible "teacher"

eliacortesi
Автор

Make one about find&replace only in visually selected part of the text (that's the one I always forget and need to look up)

ungycxr
Автор

This is nice but I would love to have fine grained control over the find and replace, using f{char} + * + <cw> dog + n + . I think?

bastolarax
Автор

I have come back to these shorts throughout my work day. Thank you for adding a brief statement about what the topic was in the title. Super helpful. Do you have a playlist for these shorts on the Vim commands we need to know?

chriswoods
Автор

Find/replace is one of the few things about vim that I find unintuitive compared to popular GUI editors, namely all of the extra regex escaping gets cumbersome. I know it makes it more like using re or rg in the terminal, but not a big fan of that either. I still sometimes open another editor when I have more than one or two complex regex replacements to perform.

ForeverZer
Автор

/gn also gets you how many times the thing you want is mentioned!

jamlie
Автор

Keep up the these tips, very helpful thank you sir

joaquimdaponte
Автор

vim can be fast as heck but i’m just too lazy to get used to it lol; i use it almost everyday regardless 😂

perplexing
Автор

Did you tattoo the neovim logo on your forehead

cinderwolf
Автор

Only what i want to know is how to exit vim 😂

BlitzStats