VimKeyboard
select keyboard
select keymap
Esc
Normal
Visual
Insert
vim logo
~
`
!
1
@
2
#
3
$
4
%
5
^
6
&
7
*
8
(
9
)
0
_
-
+
=
delete
tab
Q
W
E
R
T
Y
U
I
O
P
{
[
}
]
|
\
caps
A
S
D
F
G
H
J
K
L
:
;
"
'
return
shift
Z
X
C
V
B
N
M
<
,
>
.
?
/
shift
fn
ctrl
opt
cmd
cmd
opt
down
up
down
right

// Normal Mode Commands

Movement Commands
0
Start of line
h
Move left
j
Move down
k
Move up
l
Move right
w
Start of next word
e
End of word
b
Start of prev word
$
End of line
gg
First line
G
Last line
Editing Commands
dd
Delete line
yy
Copy line
p
Paste
C
Change to line end
s
Delete char & insert
S
Delete line & insert
cc
Change line
ciw
Change inner word
di'
Delete in quotes
Undo/Redo Commands
u
Undo
Control + r
Redo
Search and Replace Commands
/
Search
n
Next search result
N
Prev search result
?
Search backward
:%s/old/new/g
Replace all
*
Next same word
#
Prev same word
:g/old/d
Delete 'old' lines
Window and Screen Management Commands
:split
Split horizontally
:vsplit
Split vertically
zz
Center screen
Mode Transition Commands
i
Insert mode
I
Insert start line
A
Insert end line
o
Open below & insert
O
Open above & insert
v
Visual mode
V
Visual line mode
Control + v
Visual block mode
Replace Mode Commands
R
Replace mode
gR
Virtual replace mode
Advanced Editing and Selection
vi[
Select in brackets
.
Repeat change
Register and Macro Operations
qa
Start macro a
q
Stop macro
@a
Execute macro a
Fold Manipulation Commands
zf
Create fold
zo
Open fold
zc
Close fold
Marks and Navigation Commands
ma
Set mark a
`a
Jump to mark a
Pattern Matching and Line Manipulation
:m
Move lines
Command Mode Entry
:
Command-line mode