Click Here For The Advanced VI Cheatsheet
Click Here For The Advanced VI Cheatsheet
Click Here For The Advanced VI Cheatsheet
h Move left
Click here for the Advanced VI j Move down
Cheatsheet k Move up
l Move right
w Move to next word
Modes W Move to next blank delimited word
b Move to the beginning of the word
Vi has two modes insertion mode and command B Move to the beginning of blank delimted word
mode. The editor begins in command mode, where e Move to the end of the word
the cursor movement and text deletion and pasting
occur. Insertion mode begins upon entering an E Move to the end of Blank delimited word
insertion or change command. [ESC] returns the ( Move a sentence back
editor to command mode (where you can quit, for
example by typing :q!). Most commands execute ) Move a sentence forward
as soon as you type them except for "colon" { Move a paragraph back
commands which execute when you press the
ruturn key. } Move a paragraph forward
0 Move to the begining of the line
$ Move to the end of the line
1G Move to the first line of the file
G Move to the last line of the file
nG Move to nth line of the file
Inserting Text
Deleting Text
Markers
Replace
Buffers
Other
~ Toggle upp and lower case
J Join lines
. Repeat last text-changing command
u Undo last change
U Undo all changes to line