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

  1. Type a keyword into the search bar at the top — for example, yank, delete, window, or a specific key like dd.
  2. Click a mode filter (Normal, Insert, Visual, Command-line) to show only commands for that mode.
  3. Click a category filter (Navigation, Editing, Search/Replace, Buffers/Windows, Macros, Marks, Registers) to narrow by topic.
  4. Click any category header to expand or collapse its command list.
  5. Click the Copy button on any command to copy the keybinding to your clipboard.
  6. Combine mode and category filters with search to quickly find exactly the command you need.
  7. Use Ctrl+F (or Cmd+F) for browser-level search when you need to scan all expanded entries.

Popular Vim Cheat Sheet Topics

View all Vim cheat sheet examples →

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