Vim Cheatsheet
102 matches
Visible
102
all
Total
102
commands
Sections
7
groups
Status
ready
local
syntax · commands
Movement
Move cursor left
Move cursor down
Move cursor up
Move cursor right
Jump to start of next word
Jump to next WORD (whitespace-delimited)
Jump to end of current/next word
Jump to start of previous word
Jump to previous WORD
Move to start of line
Move to first non-blank character on line
Move to end of line
Go to first line of file
Go to last line of file
Go to line {count}
Scroll half page down
Scroll half page up
Page down
Page up
Move to top of screen
Move to middle of screen
Move to bottom of screen
Jump to matching bracket/paren
Move to next occurrence of char on line
Move till before next char on line
Repeat last f/t search forward
Repeat last f/t search backward
Editing
Insert before cursor
Insert at start of line
Append after cursor
Append at end of line
Open new line below
Open new line above
Replace single character
Enter replace mode
Delete character under cursor
Delete character before cursor
Delete (cut) current line
Delete to end of line
Delete to start of next word
Delete to end of line
Yank (copy) current line
Yank word
Paste after cursor
Paste before cursor
Undo
Redo
Repeat last change
Indent line right
Indent line left
Join current and next line
Change inside braces
Yank inside parens
Delete around brackets (incl. brackets)
Search & replace
Search forward for pattern
Search backward for pattern
Repeat search in same direction
Repeat search in opposite direction
Search for word under cursor (forward)
Search for word under cursor (backward)
Replace all occurrences in file
Replace all with confirmation
Replace in visual selection
Clear current search highlighting
Visual mode
Start character-wise visual selection
Start line-wise visual selection
Start block (column) visual selection
Reselect last visual selection
Yank selection
Delete selection
Change selection
Indent selection right
Indent selection left
Windows & splits
Horizontal split
Vertical split
Switch window left/down/up/right
Cycle through windows
Close current window
Close all other windows
Equalize window sizes
Maximize window height
Maximize window width
Resize height up/down
Buffers & tabs
List all open buffers
Go to next buffer
Go to previous buffer
Switch to buffer by name/number
Delete (close) current buffer
Open new tab
Switch to next tab
Switch to previous tab
Close current tab
Files & exiting
Open or reload file
Save (write) current file
Save as new file
Save all modified buffers
Quit current window
Quit without saving
Save and quit
Save and quit (normal mode)
Quit without saving (normal mode)
Save if modified and quit
example usage
Movement
—
—
—
—
—
—
—
—
—
—
—
—
—
—
42G
—
—
—
—
—
—
—
—
fa
—
—
—
Editing
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
ci"
—
—
Search & replace
—
—
—
—
—
—
—
—
—
—
Visual mode
—
—
—
—
—
—
—
—
—
Windows & splits
—
—
—
—
—
—
—
—
—
—
Buffers & tabs
—
—
—
—
—
—
—
—
—
Files & exiting
—
—
—
—
—
—
—
—
—
—