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
A

Append to end of line

0
O

Insert line below

0
S

Delete character at current position and insert

0
↑  Shift + S

Delete the current line and insert

-1
N

Next

0
↑  Shift + N

Previous

0
P

Put after cursor

0
↑  Shift + P

Put before cursor

0
/

Search term

0
↑  Shift + O

Insert line above

0
I

Insert at current position

1
↑  Shift + I

Insert at start of line

4
:

Enter command mode

1
G then G

Top of the document

0
D then W

Delete word

-1
D then D

Delete line

0
Y then W

Copy word

1
Y then Y

Copy line

Reklama

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

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

Reklama

Program information

Program name: Vi (Linux) Vi (Linux) (Matnni tahrirlash)

Web page: 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 yoki Linux

Similar programs



User operations

Add Vi (Linux) to your list of favorites

Reklama


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.
 
No comments yet. Ask, or type the first one!

Latest articles