Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do you get into VI copy mode?


Either (v) for visual and the arrow keys, or (V) to select entire current line, then (y) to yank. (yy) will also yank lines without entering visual mode, which I use a lot.

If you're asking how I copy in general from stdout with the cursor, I select the text (selection appears yellow) and press Enter and it copies to the clipboard :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: