vi (Linux)
Cursor Navigation (if your arrow keys dont work on that old Sun box....)
Top of document
G G
All hotkeys for vi (Linux)
Cursor Navigation (if your arrow keys dont work on that old Sun box....)Next line |
J |
Cursor Navigation (if your arrow keys dont work on that old Sun box....)Previous line |
K |
Cursor Navigation (if your arrow keys dont work on that old Sun box....)Left |
H |
Cursor Navigation (if your arrow keys dont work on that old Sun box....)Right |
L |
Cursor Navigation (if your arrow keys dont work on that old Sun box....)Bottom of document |
Shift + G |
Cursor Navigation (if your arrow keys dont work on that old Sun box....)Top of document |
G G |
Fast SearchSearch Term |
/ |
Fast SearchNext |
N |
Fast SearchPrevious |
N |
Command Modeenter command mode |
: |
Command Modewrite |
:w |
Command Modequit |
:q |
Command Modequit without saving |
:q! |
Command ModeWrite and quit |
:wq |
Command ModeWrite and quit |
ZZ |
Command Modeopen |
:e
|
Command Modeescape command mode |
Esc |
Command Modeundo last command |
u |
From Normal to Edit ModeInsert at current position |
I |
From Normal to Edit ModeInsert at start of line |
I |
From Normal to Edit ModeAppend to end of line |
A |
From Normal to Edit ModeInsert Line Below |
O |
From Normal to Edit ModeInsert Line Above |
O |
From Normal to Edit ModeDelete character at current position and insert |
S |
From Normal to Edit ModeDelete the current line and insert |
S |
Clipboarddelete word |
d w |
Clipboarddelete line |
d d |
Clipboardput after cursor |
P |
Clipboardput before cursor |
P |
Clipboardcopy word |
y w |
Clipboardcopy line |
y y |