Skip to content

Favorite Vim commands

:!python %
Run the current file in Python
:% s/regex/replacement/g
Replace every instance of the regex with the given expression.
:! svn ci %
Check the current file into SVN version control.
ESC 77 G i
Jump to line 77 in the file, then return to edit mode.
ESC $ i
Jump to end of line, then return to edit mode.
ESC A
Start editing at the end of the current line.

More great vim commands.