Vim Cheat Sheet
A compact Vim command reference for movement, editing, searching, replacing, files, splits, and macros.
Last updated: May 28, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is Vim Cheat Sheet?
This Vim cheat sheet collects practical commands used in everyday editing. It focuses on normal mode movement, text objects, edit commands, search and replace, file commands, split navigation, and useful combinations that make Vim efficient.
How to Use Vim Cheat Sheet
Common Use Cases
- Remembering movement keys while learning Vim.
- Looking up search and replace syntax.
- Checking file and split commands.
- Finding useful text-object edit commands.
Example Input and Output
Change the word under the cursor.
Replace the current word with "title"ciwtitle<Esc>Tip
Most Vim commands combine an action with a motion: d + w deletes a word, c + i + " changes inside quotes, and y + y yanks a line.
Frequently Asked Questions
Does this cover Neovim too?
Yes. The core commands listed here work in Vim and Neovim.
What is normal mode?
Normal mode is Vim’s command mode. Press Esc to return to it before running movement or edit commands.
What are text objects?
Text objects are targets such as words, quoted strings, or parentheses. Commands like ciw and di" operate on those targets.
Related Tools
JavaScript Cheat Sheet
A quick JavaScript reference for variables, functions, arrays, objects, promises, DOM APIs, and common gotchas.
Markdown Editor
Write Markdown with live preview, document starters, multiple local drafts, outline navigation, find and replace, keyboard shortcuts, and browser-local history.
Code Highlighter
Paste code in JavaScript, TypeScript, Python, HTML, CSS, SQL, JSON, or Bash and get a syntax-highlighted HTML snippet you can embed anywhere. Live preview and copy-ready output.
Regex Tester
Test and debug regular expressions with live match highlighting, capture group display, and flag explanations — using JavaScript's native RegExp engine.
Markdown Formatter
Clean and normalize complete Markdown documents without changing their meaning. Standardize headings, lists, spacing, and emphasis while preserving code and frontmatter.
JSON Cheat Sheet
A complete JSON reference — data types, syntax rules, nested structures, common patterns, and gotchas. Quick lookup for developers working with JSON APIs and configs.

