Skip to content

Instantly share code, notes, and snippets.

@mathieue
Created August 23, 2010 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathieue/546242 to your computer and use it in GitHub Desktop.
Save mathieue/546242 to your computer and use it in GitHub Desktop.
Vim Learning Todo
vim -p [filename] [filename] : open all files in tabs
:set syntax=perl : force syntax (usually taken from file extension)
* # g* g# : find word under cursor (<cword>) (forwards/backwards)
% : match brackets {}[]()
. : repeat last modification
<C-W><C-W> : switch vindow, very handy for split screen, quick fix..
<C-J> : join lines (current with following)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment