DEV Community


Discussion on: Demystifying vim

jerpint profile image

v Will get you in visual mode. You can highlight the section you want, then yank (copy) with y. To paste, use p. You don't need to visually select to copy/paste. You could yank the word yw, or yank to the end of the line y$ , or yank the entire line yy

vlasales profile image
Vlastimil Pospichal

V will get you in select mode. It's little diferent from visual mode, but commands are similar.

Thread Thread
tbodt profile image

V is visual line mode, not select mode. It's the same as visual mode but it's line oriented, so you're cutting or pasting entire lines and not characters.