Vim Commands Cheat Sheet

Last Updated: November 21, 2025

Modes

i
Insert mode
Esc
Normal mode
v
Visual mode
:
Command mode

Movement

Key Action
h/j/k/l Left/Down/Up/Right
w Next word
b Previous word
0/$ Start/End of line

Editing

dd
Delete line
yy
Copy line
p
Paste
u
Undo
Ctrl+r
Redo
💡 Pro Tip: Practice with vimtutor command!
← Back to Data Science & ML | Browse all categories | View all cheat sheets