Shift a block right or left.
CTRL-v, select block, > or <
Edit a file via scp
:e scp://user@host/filename
Insert command output below cursor
:r! some_command
Comment a block of code
:.,.+5s/^/#/
Keyword Completion
CTRL-n in Insert Mode
Pull word under the cursor onto command line.
CTRL-r CTRL-w in Insert Mode
Useful File Explorer
:Ex
Move to last modification position.
`.
File Surfing with Vim
(:gf) open file under cursor, (:bp) move back in file list, (:bn) move forward in file list
Spell Checking
:set spell (use z= to suggest spelling)
|