Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStats

Categories

🤖 Artificial Intelligence
☁️ Cloud and Infrastructure
💾 Data and Databases
💼 Professional Skills
🎯 Programming and Development
🔒 Security and Networking
📚 Specialized Topics
HomeAboutTopicsPricingMy VaultStats
LEVEL 0
0/5 XP
GitHub
© 2026 CheatGrid™. All rights reserved.
Privacy PolicyTerms of UseAboutContact

Vim/Neovim Cheat Sheet

Vim/Neovim Cheat Sheet

Back to Developer Tools
Updated 2026-04-29
Next Topic: Vite Cheat Sheet

Vim is a modal text editor descended from Vi, with Neovim serving as a modern, extensible fork that adds built-in LSP support, Lua scripting, and a robust plugin ecosystem. Unlike traditional editors, Vim operates through distinct modes—Normal, Insert, Visual, and Command-line—enabling rapid text manipulation through composable commands. The core philosophy is editing at the speed of thought: operators combine with motions and text objects to form a grammar (ciw = change inner word), making complex edits concise and repeatable. Neovim 0.12 (released March 2026) added a built-in plugin manager (vim.pack), native insert-mode auto-completion, expanded LSP defaults, and the :lsp command—reducing the need for third-party plugins significantly.

What This Cheat Sheet Covers

This topic spans 31 focused tables and 321 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: Modes and Mode SwitchingTable 2: Basic NavigationTable 3: ScrollingTable 4: Search and NavigationTable 5: Text ObjectsTable 6: OperatorsTable 7: Editing CommandsTable 8: Insert Mode CompletionsTable 9: Visual Mode OperationsTable 10: Command-line and Ex CommandsTable 11: Search and ReplaceTable 12: Marks and JumpsTable 13: FoldingTable 14: Diff ModeTable 15: MacrosTable 16: RegistersTable 17: Window ManagementTable 18: Buffer and Tab ManagementTable 19: Neovim Terminal ModeTable 20: Quickfix and Location ListsTable 21: Spell CheckingTable 22: Configuration EssentialsTable 23: Keymapping EssentialsTable 24: AutocommandsTable 25: Neovim LSPTable 26: Neovim TreesitterTable 27: Neovim Plugin ManagersTable 28: Popular Neovim PluginsTable 29: Neovim Lua APITable 30: Configuration File LocationsTable 31: Command-line Invocation Options

Table 1: Modes and Mode Switching

ModeExampleDescription
Normal mode
<Esc> or <C-[>
• Default mode for navigation and commands
• no text is inserted directly. Press <Esc> from any mode to return here.
Insert mode
i
• Enters insert before cursor
• a appends after cursor
• o opens a new line below. Type text normally in this mode.
Visual mode
v
• Character-wise selection
• V selects entire lines
• <C-v> enters Visual Block mode for rectangular column selection.
Command-line mode
:
• Execute Ex commands like :w (write), :q (quit), :s (substitute)
• prefix with : from Normal mode.

More in Developer Tools

  • Turborepo Monorepo Build System Cheat Sheet
  • Vite Cheat Sheet
  • AI-LLM Code Generation Cheat Sheet
  • Docker Desktop for Developers Cheat Sheet
  • Jupyter Notebooks Cheat Sheet
  • RStudio Cheat Sheet
View all 55 topics in Developer Tools