Cheat sheet guide
Vim shortcuts worth learning first
This page collects 60 searchable Vim keyboard shortcuts across 6 categories. Start with the shortcuts for Modes, Navigation, Editing, Search & Replace, then print the cheat sheet once the important ones are worth keeping nearby.
- Enter Normal modeEsc
- Move left/down/up/righthjkl
- Delete characterx
- Search forward/{pattern}
- Save file:w
- Record macro into registerq{letter}
Modes
11 shortcutsNavigation
12 shortcutsEditing
15 shortcutsSearch & Replace
8 shortcutsFile & Buffers
9 shortcutsMacros
5 shortcutsFrequently asked questions
What is the fastest way to find Vim shortcuts on this page?
Use the search box or press /, then type an action such as enter normal mode.
Can I print this Vim shortcut cheat sheet?
Yes. Use the Print / PDF button or your browser print command to save a compact cheat sheet.
Does this page include Windows and Mac shortcuts for Vim?
Yes. Use the OS tabs to switch between Windows and macOS shortcuts. For example, Enter Normal mode is Esc on Windows and Esc on macOS where available.