Important VIM tip that cheatsheets never mention for some reason: text objects. First, remember these two things: a for a, and i for 'inner'. 'daw' deletes a word under the cursor. 'diw' deletes the contents of a word (the 'inner' of a word) under the cursor.<p>What? How is that useful?<p>'das' deletes a sentence under the cursor. 'dap' deletes a paragraph under the cursor.<p>'da{' deletes the block of text that's currently surrounded by braces. 'ci(' deletes the inner content that's surrounded by parentheses and puts you in insert mode. 'gqap' reformats the contents of the paragraph under the cursor ('gqip' will end up leaving your cursor at the beginning of the paragraph instead of the end.)
I've had that taped to my office wall since way back when I decided to use Vim. That, and the intermediate learning cheatsheets here were very useful.
<a href="http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html" rel="nofollow">http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial...</a>
Definitely be sure to give thanks to ViEmu for this great set of graphics, and if you happen to like Vim and use Visual Studio, give consideration to buying their plugin. It works incredibly well, and really helps me feel at home when writing software in Windows.
It's a good sign of ViEmu's quality that they provide the standard Vim cheatsheet without any editing. I haven't used ViEmu myself, but their emulation seems extensive -- impressive given how limited to the point of uselessness Vi-emulating "keybindings" are for other software.
I had Office Depot print this cheat sheet: in color, legal-sized, double-sided, laminated with a heavy/stiff plastic and spiral bound. It now sits off to the side of my desk and has made for an invaluable reference over the past year.
If you use Vim, snipMate is an awesome plugin to give you snippets.<p><a href="http://www.vim.org/scripts/script.php?script_id=2540" rel="nofollow">http://www.vim.org/scripts/script.php?script_id=2540</a>
Here's a nice article on how to set up VIM as a Python IDE: <a href="http://blog.dispatched.ch/vim-as-python-ide/" rel="nofollow">http://blog.dispatched.ch/vim-as-python-ide/</a>
This cheatsheet was great when I started using vim years ago.<p>I highly recommend <a href="http://vimcasts.org/" rel="nofollow">http://vimcasts.org/</a> It has neat little tutorials that cover a lot of vim's powerful features.