Vi (Linux) keyboard shortcuts

Vi (Linux)

Zeynel Abidin Öztürk -
4 months ago
- Shortcuts
J

Next line

K

Previous line

H

Left

L

Right

↑   Shift + G

Bottom of the document

G then G

Top of the document

:

Enter command mode

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

Insert at current position

↑   Shift + I

Insert at start of line

A

Append to end of line

O

Insert line below

↑   Shift + O

Insert line above

S

Delete character at current position and insert

↑   Shift + S

Delete the current line and insert

/

Search term

N

Next

↑   Shift + N

Previous

D then W

Delete word

D then D

Delete line

P

Put after cursor

↑   Shift + P

Put before cursor

Y then W

Copy word

Y then Y

Copy line


Share this page on:

Program information

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

Vi is a text editor originally developed for Unix operating system. The name "vi" is derived from the abbreviation for the ex command "visual". A 2009 survey of Linux Journal readers found that Vi was the most widely used text editor among respondents.

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

Shortcut count: 23

How easy to press shortcuts: 84%

Similar programs


  1. Grand Theft Auto VGrand Theft Auto V
    61126   
  2. Keyboard symbolsKeyboard symbols
    49017    1
  3. Apex Legends (PC)Apex Legends (PC)
    37934   
  4. The Sims 4The Sims 4
    36906    3
  5. PlayerUnknown's BattlegroundsPlayerUnknown's Battleg
    34414    2
  6. DiscordDiscord
    32428   
More keyboard shortcuts...

Advertisement

Join our mailing list!

Your email is kept private and we don't spam.