Hotkeys and shortcuts for vi (Linux)

(Total 31)

J
Cursor Navigation (if your arrow keys dont work on that old Sun box....)
Next line
K
Cursor Navigation (if your arrow keys dont work on that old Sun box....)
Previous line
H
Cursor Navigation (if your arrow keys dont work on that old Sun box....)
Left
L
Cursor Navigation (if your arrow keys dont work on that old Sun box....)
Right
Shift + G
Cursor Navigation (if your arrow keys dont work on that old Sun box....)
Bottom of document
G G
Cursor Navigation (if your arrow keys dont work on that old Sun box....)
Top of document
/
Fast Search
Search Term
N
Fast Search
Next
N
Fast Search
Previous
:
Command Mode
enter command mode
:w
Command Mode
write
:q
Command Mode
quit
:q!
Command Mode
quit without saving
:wq
Command Mode
Write and quit
ZZ
Command Mode
Write and quit
:e
Command Mode
open
Esc
Command Mode
escape command mode
u
Command Mode
undo last command
I
From Normal to Edit Mode
Insert at current position
I
From Normal to Edit Mode
Insert at start of line
A
From Normal to Edit Mode
Append to end of line
O
From Normal to Edit Mode
Insert Line Below
O
From Normal to Edit Mode
Insert Line Above
S
From Normal to Edit Mode
Delete character at current position and insert
S
From Normal to Edit Mode
Delete the current line and insert
d w
Clipboard
delete word
d d
Clipboard
delete line
P
Clipboard
put after cursor
P
Clipboard
put before cursor
y w
Clipboard
copy word
y y
Clipboard
copy line