← Back to Upcase

Using visual mode in VIM

(Matthew Mongeau) #1

Vim’s visual mode is really useful. You can enter visual mode by pressing v when in normal mode. After entering visual mode, moving around will select text that you can then interact with.

There are actually a few different visual modes in vim as well:

v: Visual mode
V: Visual line mode (this is what I used in the video)
CTRL_v: Visual block mode

I’d suggest trying them each out to see how they work. If you want additional information on visual modes, you can do “:help Visual” from inside vim (make sure to use a capital V).