Vim Cheat Sheet

Search common Vim commands for movement, editing, copy/paste, search, files, visual mode, and windows.

Last updated: August 2026 | By Workshelve Team

Movement

h

Move left

Movement

j

Move down

Movement

k

Move up

Movement

l

Move right

Movement

w

Move to next word

Movement

b

Move to previous word

Movement

0

Move to start of line

Movement

$

Move to end of line

Movement

gg

Move to first line

Movement

G

Move to last line

Insert

i

Insert before cursor

Insert

a

Insert after cursor

Insert

I

Insert at start of line

Insert

A

Insert at end of line

Insert

o

Open line below

Insert

O

Open line above

Editing

x

Delete character under cursor

Editing

dd

Delete current line

Editing

dw

Delete word

Editing

cw

Change word

Editing

cc

Change current line

Editing

u

Undo

Editing

Ctrl+r

Redo

Copy/Paste

yy

Yank current line

Copy/Paste

yw

Yank word

Copy/Paste

p

Paste after cursor

Copy/Paste

P

Paste before cursor

Search

/text

Search forward for text

Search

?text

Search backward for text

Search

n

Next search match

Search

N

Previous search match

Files

:w

Save file

Files

:q

Quit

Files

:wq

Save and quit

Files

:q!

Quit without saving

Visual

v

Start character visual mode

Visual

V

Start line visual mode

Visual

Ctrl+v

Start block visual mode

Windows

:split

Horizontal split

Windows

:vsplit

Vertical split

Windows

Ctrl+w h/j/k/l

Move between windows

Commands Shown

41

Categories

8

Mode

Normal-first

What does Vim Cheat Sheet do?

It gives you a searchable reference for common Vim commands so you can quickly remember movement, editing, files, visual mode, and split-window shortcuts.

How to use it

1

Search for a command, category, or action.

2

Copy an individual command when needed.

3

Download the filtered cheat sheet as Markdown.

Notes

Vim commands are often composable. For example, d deletes with a motion, so dw deletes a word and d$ deletes to the end of the line.

Press Esc to return to normal mode before using most commands in this cheat sheet.

Related Tools