Some tricks of the trade

Previous Index Next


A number preceding an operator or command - e.g.

3ddDelete 3 lines
10hMove 10 characters right
10>>Indent 10 lines (a little unusual)


~Change case of letter under cursor
ctrl-^Flip to previous edited file
JJoin two lines together
UUndo all changes on current line
oInsert a new line under the current one and enter insert mode
ctrl-]Jump to definition of function (tag - use ctags to generate index)
xpSwap two letters round
AAppend at end of line

Copyright Dr. David Alan Gilbert 2001. vitalk @ - Hacked together with dsh