Thursday, January 29, 2009

Vim - basics - copy-paste

Useful shortcuts for Vim beginners:

mark text
v ... start highlighting text

+y ... end highlighting text

d ... cut
P ... P-paste above cursor
p ... paste below


u ... undo
Ctrl+R ... redo

source: source web
other: other web
Vim macro for copy-paste with Ctrl+C and Ctrl+W: abclinuxu.cz (Czech version)

No comments: