re: Demystifying vim VIEW POST

TOP OF THREAD FULL DISCUSSION
re: This needs to go to my vim cheatsheet. Is there a part 2? How can I copy and paste a section of text?
 

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

 

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

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.

code of conduct - report abuse