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.
This was written by
Edward Delaporte. Posted on
Saturday, May 29, 2010, at May 29. Filed under
Programming. Bookmark the
permalink. Follow comments here with the
RSS feed. Both comments and trackbacks are currently closed.