Vim Cheat Sheet
Searchable, interactive reference of Vim keybindings organized by mode and category. Click any command to copy.
About This Tool
The Vim Cheat Sheet is a free, interactive reference for every Vim command you use during daily editing. Instead of pausing to search documentation or flip through printed cheat sheets, you can search, filter by mode, and filter by category to find exactly the keybinding you need in seconds.
Every entry shows the key combination, a clear description, and the Vim
mode it applies to (Normal, Insert, Visual, or Command-line). Categories
span the full Vim workflow: Navigation commands like h, j, k,
l, w, b, gg, and G; Editing operations including
dd, yy, p, cw, and text objects like diw and
ci(; Search and Replace with /pattern, :%s/old/new/g, and
:noh; Buffer and Window management using :sp, :vsp, and
Ctrl+w commands; Macros with q{reg} recording and @{reg}
playback; Marks for bookmarking positions; and Registers for advanced
copy-paste workflows.
All content is rendered entirely in your browser. No data is sent to any server, and no login or signup is required. If you work with the command line frequently, you may also find the SQL Cheat Sheet useful for database queries, or the Regex Tester for testing patterns you write in Vim's search mode. For Git operations within Vim, check out the Git Command Builder.
How to Use
- Type a keyword into the search bar at the top — for example,
yank,delete,window, or a specific key likedd. - Click a mode filter (Normal, Insert, Visual, Command-line) to show only commands for that mode.
- Click a category filter (Navigation, Editing, Search/Replace, Buffers/Windows, Macros, Marks, Registers) to narrow by topic.
- Click any category header to expand or collapse its command list.
- Click the Copy button on any command to copy the keybinding to your clipboard.
- Combine mode and category filters with search to quickly find exactly the command you need.
- Use Ctrl+F (or Cmd+F) for browser-level search when you need to scan all expanded entries.
Popular Vim Cheat Sheet Topics
FAQ
What Vim modes are covered?
The cheat sheet covers all four primary Vim modes: Normal mode (default mode for navigation and commands), Insert mode (for typing text), Visual mode (for selecting text), and Command-line mode (for ex commands like :w, :q, :%s). Each command entry shows which mode it belongs to.
How do I find a specific Vim command?
Use the search bar to type any keyword — key names (dd, yy, Ctrl+w), actions (delete, yank, paste), or concepts (macro, register, mark). You can also filter by mode and category using the filter buttons.
Can I copy the Vim commands?
Yes. Every command row has a Copy button on the right side. Click it to copy the keybinding to your clipboard instantly. A green checkmark confirms the copy succeeded.
Are text objects covered?
Yes. The Editing category includes text object commands like diw (delete inner word), ciw (change inner word), di" (delete inside quotes), ci( (change inside parentheses), and da{ (delete around braces). Text objects are one of Vim's most powerful features.
Is my data safe?
Yes. This is a static reference tool — all content is loaded and rendered entirely in your browser. No data is sent to any server, no cookies are stored, and no login is required.
Does the cheat sheet cover Neovim too?
The commands listed here are compatible with both Vim and Neovim, as they cover core Vim keybindings that are shared between both editors. Neovim-specific features like Lua configuration or Treesitter integration are not covered, but all the fundamental motions, operators, and ex commands work identically.
How should I learn Vim using this cheat sheet?
Start with the Navigation category to learn basic cursor movement (h, j, k, l, w, b, 0, $). Then move to Editing basics (i, a, dd, yy, p, u). Once comfortable, explore Search/Replace, Visual mode, and finally advanced topics like Macros, Marks, and Registers. Practice a few new commands each day.
Related Tools
Bash Cheat Sheet
Searchable bash command reference organized by category. File operations, text processing, networking, process management, variables, control flow, and string manipulation.
Git Command Reference
Comprehensive git command reference organized by workflow. Search, reverse lookup, visual workflow diagram, and copy any command.
Keyboard Shortcut Reference
Searchable keyboard shortcut cheat sheet for VS Code, IntelliJ, Chrome DevTools, Terminal, macOS, Windows, Slack, and Figma with OS toggle.
Regex Cheat Sheet
Interactive regex cheat sheet with searchable syntax reference, category filters, live pattern testing, and common regex patterns for JavaScript.
Shell Script Linter
Lint and check bash/shell scripts for common issues, deprecated syntax, and best practices. Catch bugs before they reach production.