Shortcuts vi for Linux

31 shortcuts5,955 views
Open Trainer

Cursor Navigation (if your arrow keys dont work on that old Sun box....)

Action
Next line
Previous line
Left
Right
Bottom of document
Top of document

Fast Search

Action
Search Term
Next
Previous

Command Mode

Action
enter command mode
write
quit
quit without saving
Write and quit
Write and quit
open <filename>
escape command mode
undo last command

From Normal to Edit Mode

Action
Insert at current position
Insert at start of line
Append to end of line
Insert Line Below
Insert Line Above
Delete character at current position and insert
Delete the current line and insert

Clipboard

Action
delete word
delete line
put after cursor
put before cursor
copy word
copy line