Christmas gifts: delivery dates and last-minute ideas.10% off: MODKEY10 Gift guide →

Vim keyboard shortcuts (Mac)

Vim PosterGet it on your desk →

The most used Vim shortcuts on Mac: Insert before cursor (I), Enter an Ex command (:), End Insert mode (esc), Put after cursor (P), Undo (U). This page lists all 50, from the official documentation.

50 Vim keyboard shortcuts for Mac, grouped into Modes & insert, Cursor motion, Edit & undo, Search, Scroll & jump. Every key is copied from github.com (retrieved November 19, 2026) and shown on a real keyboard layout.

On Mac, 41 of these 50 shortcuts are the Windows ones with ⌘ in place of Ctrl; 9 are different, for example Blockwise Visual mode (⌃V; Windows: Ctrl+V), Redo (⌃R; Windows: Ctrl+R), Add to number (⌃A; Windows: Ctrl+A).

Vim · Desk mat · Paper

Vim keyboard map

Pick your keyboard and a modifier. Keys with a shortcut light up; point at or tap a key to see everything on it. Try it: hold ⇧ Shift on your keyboard

Modifier
Keyboard
Point at or tap a key.

More shortcuts on this key with other modifiers.

Key alone28 keys

All Vim keyboard shortcuts for Mac

50 shortcuts

Modes & insert11

CommandShortcut
Insert before cursorI
Append after cursorA
Append at end of line⇧A
Insert at start of line⇧I
Open line belowO
Open line above⇧O
Visual modeV
Linewise Visual mode⇧V
Blockwise Visual mode⌃V
Enter an Ex command:
End Insert modeesc

Cursor motion13

CommandShortcut
LeftH
DownJ
UpK
RightL
Word forwardW
Word backwardB
End of wordE
Start of line0
End of line$
Go to line N / last line⇧G
Matching bracket%
Paragraph backward{
Paragraph forward}

Edit & undo14

CommandShortcut
Delete characterX
Delete character before⇧X
Delete to end of line⇧D
Change to end of line⇧C
Join lines⇧J
Switch case~
Put after cursorP
Put before cursor⇧P
Yank line⇧Y
UndoU
Redo⌃R
Repeat last change.
Add to number⌃A
Subtract from number⌃X
CommandShortcut
Search forward/
Search backward?
Next matchN
Previous match⇧N
Search word under cursor*
Search word backward#

Scroll & jump6

CommandShortcut
Screen forward⌃F
Screen backward⌃B
Scroll down half a screen⌃D
Scroll up half a screen⌃U
Older position in jump list⌃O
HelpF1

Source: The Vim Project · github.com · retrieved . Unofficial reference. Not affiliated with The Vim Project. How we source shortcuts →

Free printable Vim cheat sheet

The essential shortcuts on one page (PDF, 24 × 20 cm), for your keyboard and language.

Vim shortcut questions

What is the shortcut for “Insert before cursor” in Vim on Mac?
Press I. That is the shortcut for “Insert before cursor” in Vim on Mac, as given in the official documentation.
What is the shortcut for “Enter an Ex command” in Vim on Mac?
Press :. That is the shortcut for “Enter an Ex command” in Vim on Mac, as given in the official documentation.
What is the shortcut for “End Insert mode” in Vim on Mac?
Press esc. That is the shortcut for “End Insert mode” in Vim on Mac, as given in the official documentation.
Where do these Vim shortcuts come from?
From The Vim Project’s official documentation at github.com, retrieved November 19, 2026. Every key is copied from there, never from other websites.

Learn it, then print it