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 - hjkl

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



Working with multiple files


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


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.




Switch Caps Lock and Escape


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