Shortcuts vi for Linux

We present to your attention the shortcuts for the vi for Linux which is used on the operating system Linux, in this hotkeys description 31 of the most popular and important shortcuts are offered. You can also add your changes on our portal if you consider the data insufficiently complete or add a new program from the very beginning.

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

Linux Description Edit Cancel Save & submit
J Next line
K Previous line
H Left
L Right
Shift+G Bottom of document
GG Top of document
Linux Description Edit Cancel Save & submit
/ Search Term
N Next
N Previous

Command Mode

Linux Description Edit Cancel Save & submit
: enter command mode
:w write
:q quit
:q! quit without saving
:wq Write and quit
ZZ Write and quit
:e open
Esc escape command mode
u undo last command

From Normal to Edit Mode

Linux Description Edit Cancel Save & submit
I Insert at current position
I Insert at start of line
A Append to end of line
O Insert Line Below
O Insert Line Above
S Delete character at current position and insert
S Delete the current line and insert

Clipboard

Linux Description Edit Cancel Save & submit
dw delete word
dd delete line
P put after cursor
P put before cursor
yw copy word
yy copy line
~~~ The end. Thank you for watching. Add page to bookmarks CTRL + D ~~~
Date of change: 24.01.2019
Page views: 49
*Some of the keys listed may not work in older versions of the program