Vi (Linux) keyboard shortcuts 

Vi (Linux)  

Zeynel -
6 years ago
- Shortcuts
3
J

Next line

0
K

Previous line

1
H

Left

1
L

Right

0
↑  Shift + G

Bottom of the document

1
G then G

Top of the document

Advertisement

4
:

Enter command mode

:w Write
:q Quit
:q! Quit without saving
:wq Write and quit
ZZ Write and quit
:e Open
0
I

Insert at current position

1
↑  Shift + I

Insert at start of line

1
A

Append to end of line

0
O

Insert line below

0
↑  Shift + O

Insert line above

0
S

Delete character at current position and insert

0
↑  Shift + S

Delete the current line and insert

0
/

Search term

-1
N

Next

0
↑  Shift + N

Previous

0
D then W

Delete word

-1
D then D

Delete line

0
P

Put after cursor

0
↑  Shift + P

Put before cursor

0
Y then W

Copy word

1
Y then Y

Copy line


Share this page on:
Is this page helpful?
0 0

Advertisement

Program information

Program name: Vi (Linux) Vi (Linux) (Text editing)

Web page: http://ex-vi.sourceforge.net

Last update: 11.11.2019 20:10 UTC

How easy to press shortcuts: 84%

More information >>

Shortcut count: 23

Platform detected: Windows or Linux

Similar programs



User operations

Add Vi (Linux) to your list of favorites

Advertisement


What is your favorite Vi (Linux) hotkey? Do you have any useful tips for it? Let other users know below.


Only registered users can post links.
Checking site status...
 
No comments yet. Ask, or type the first one!

Latest articles