The Ultimate Vim Cheat Sheet (2025/2026): 100+ Commands & Shortcuts
A comprehensive, categorized Vim reference guide. Includes cursor motions, text objects (ciw, dap), search & replace, registers, macros, and split windows.
Whether you are just starting out with Vim or looking to brush up on powerful text objects like ci" and dap, this definitive cheat sheet organizes the most effective Vim keybindings by function.
1. Cursor Movement & Navigation
The cardinal rule of Vim navigation is keeping your hands anchored to the home row without touching the arrow keys.
| Key | Action | Interactive Track |
|---|---|---|
| h / j / k / l | Move Left / Down / Up / Right | Practice h, j, k, l β |
| w / b / e | Jump forward to start / backward to start / forward to end of word | Practice w, b, e β |
| 0 / ^ / $ | Jump to line start / first non-blank char / line end | Practice 0, $ β |
| gg / G | Jump to beginning of file / end of file | Practice gg, G β |
| f{char} / t{char} | Find next {char} on current line / Till before {char} | Practice f, t β |
2. Essential Editing Operations
In Vim, edits combine an operator (action) with a motion (range).
3. Power Text Objects (The Secret to Vim Mastery)
Text objects let you modify structured code without manual cursor selection. Format: [operator] + [i/a] + [object].
ciw: Change inside word (replaces current word instantly).ci"orci': Change inside string quotes.di(orda): Delete inside / around function parameters.dap: Delete entire paragraph / function block.cit: Change inside HTML/XML tag pair.
Build Muscle Memory with Live Feedback
Reading cheat sheets is helpful, but muscle memory only builds when your fingers actually hit the keys.
Explore All 30+ Interactive Tracks βMaster These Vim Keystrokes in Browser
Don't just read about Vim commandsβbuild reflex-level muscle memory with our interactive code challenges, instant feedback, and gamified XP rewards.
Recommended Reading
More Vim Guides & Tutorials
How to Exit Vim: The Complete, Fail-Safe Guide for Developers
Stuck in Vim? Learn every method to exit safely: save & quit (:wq, ZZ), quit without saving (:q!, ZQ), force close, and what to do when your terminal is unresponsive.
Vim vs Neovim in 2025: Performance, Lua Plugins, and Which to Learn
An in-depth technical comparison between traditional Vim and Neovim. Discover differences in Lua configuration, Tree-sitter AST, LSP protocol, and which editor is right for you.
Mastering Vim Motions: Why ciw, dap, and f/t Will 10x Your Productivity
Unlock the grammar of Vim: Operators, Counts, and Text Objects. Master compound commands like change inside word, delete paragraph, and inline character finds.