Ed The Dev .com

Edward Delaporte's Technical Journal

Favorite Vim commands

no comment
:!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.

Leave a Reply

You must be logged in to post a comment.