List of Vi (Linux) Keyboard Shortcut Keys – {Easy Shortcuts}

Vi (Linux): It 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. In this article, we will guide you to know a general List of Vi (Linux) Keyboard Shortcut Keys.  Let’s get into this article!!

Vi (Linux) Logo
Vi (Linux) Logo

Last updated on July 22, 2021.

Download Vi (Linux) Shortcuts Offline Study Here: Vi (Linux).pdf

Shortcut Function
J This shortcut key will be used for the next line.
K It is used for the previous line.
H Helps for the left.
L Use this key for right.
Shift+G It is used at bottom of the document.
G then G Helps for the top of the document.

Command mode shortcuts:

Shortcut Function
: It is used to enter command mode.
:w Helps to write.
:q Use this key to quit.
:q! It is used to quit without saving.
:wq Helps to write and quit.
ZZ This key will write and quit.
:e It is used to open

From Normal to Edit mode shortcuts:

Shortcut Function
I It will insert at the current position.
Shift+I Helps to insert at the start of the line.
A This key will append to the end of the line.
O It is used to insert the line below.
Shift+O Helps to insert the line above.
S Use this key to delete the character at the current position and insert it.
Shift+S It will delete the current line and insert it.

Fast search shortcuts:

Shortcut Function
/ Helps to search term.
N Use this key for next.
Shift+N It is used for previous.

Clipboard shortcuts:

Shortcut Function
D then W Helps to delete words.
D then D This key will delete the line.
P It will be put after the cursor.
Shift+P Helps to put before the cursor.
Y then W Use this key to copy words.
Y then Y It is used to copy lines.

From this article, you can get to know about a general List of Vi (Linux) Keyboard Shortcut Keys. Hope that this article is useful to you. If you have any queries, then leave them in the below comment box.

Read Also:

Leave a Comment