Fork me on GitHub

#A Great Vim Cheat Sheet

Note: If you’re decent at Vim and want your mind blown, check out Advanced Vim.

I’ve compiled a list of essential Vim commands that I use every day. I then give a few instructions on how to making Vim as great as it should be, because it’s painful without configuration.

##Cursor movement (Inside command/normal mode)

The four directions in Vim, keys h, j, k, and l.

##Insert/Appending/Editing Text

##Marking text (visual mode)

##Visual commands Type any of these while some text is selected to apply the action

##Cut and Paste

##Exiting

##Search/Replace

##Working with multiple files

##Marks Marks allow you to jump to designated points in your code.

##General

#Making Vim actually useful Vim is quite unpleasant out of the box. For example, typeing :w for every file save is awkward and copying and pasting to the system clipboard does not work. But a few changes will get you much closer to the editor of your dreams.

##.vimrc

Installation

##Plugins

##Switch Caps Lock and Escape

##Other I don’t personally use these yet, but I’ve heard other people do!