Monday, August 22, 2011

VIM (tutorial 1)

I - insert at the begin of line
A - append to end of line
o/O - open a new line after/before the current
v/V - Visual mode to select text
Shift+R - replace text
C - change remaining part of line
r - replace one character
~ - changes case
J - joins lines
Ctrl+A - increment a number
Ctrl+B - decrement a number
. - repeat last command (a simple macro)
= indent line

No comments:

Post a Comment