• ↑↓ to navigate
  • ↵ to open
  • ⟶ to select
  • ⌘ ⌥ ↵ to open in a panel
  • ←→ to navigate
  • esc to dismiss
⌘ '
keyboard shortcuts

The Problem

New Vim users are lost without familiarity of any commands. Without these five commands, you cannot open a file, save it, or do anything productive.

Core Idea

Five core Normal-mode commands are enough to survive: insert text, delete characters, save, and quit.

How It Works

Essential commands for Level 1 (Survival):

CommandAction
iEnter Insert mode (type text)
xDelete character under cursor
:wqSave and quit (:w = save, :q = quit)
ddDelete (cut) the current line
pPaste the last deleted/yanked text

Recommended additions:

  • hjkl — cursor movement (←↓↑→), j looks like down arrow
  • :help <command> — show help for any command (:help for general help)

Key Properties

  • All five commands work in Normal mode
  • dd both deletes and yanks (stores in default register)
  • :wq fails if file is read-only — use :wq! to force
  • p pastes after cursor, P pastes before cursor

Edge Cases & Gotchas

  • x works on characters, not bytes in multi-byte encodings
  • dd copies to register, so p can retrieve it
  • :wq saves even without changes — use :x to save only if modified

Visual Explanation

aliases___basic_commands__survival_commands__vim_commands_ A Aliases: [Basic Comm Input B Aliases: [Basic Comm Core Mechanism A->B triggers C Aliases: [Basic Comm Output B->C produces

Semantic Network

semantic_aliases___basic_commands__survival_commands__vim_commands_ THIS Aliases: [Basic Comm REL1 Related Concept THIS--REL1 related REL2 Builds Into THIS--REL2 builds into

Connections

  • Vim Modes — All commands work in Normal mode
  • Text Objects — Extend deletion/selection beyond single lines
  • Navigation — Moving efficiently within lines and files
  • Repetition — Repeat commands with counts