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 have then given a few instructions on how to make 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



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, typing :w for every file save is awkward and copying and pasting to the system clipboard does not work. However, 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!