LinuxShortcuts

30 Vi Keyboard Shortcuts for Linux

download vi shortcuts cheat sheet pdf

Vi Shortcuts will help you to edit existing files and compose new emails. At the start, it might take some effort but soon it will become your finger memory. This will facilitate your writing, programming, and data manipulation. In Command Mode, almost every letter on the keyboard has some or other function.

Download Vi Shortcuts Cheat Sheet PDF

Vi is very much popular because of its highly effective command system. Vi’s goal is to give users a robust editing experience without the need to leave the keyboard row. The command mode will utilize the below list of Vi shortcuts that helps to navigate a file, manipulate text, search and replace phrases. Download the Vi shortcuts list in PDF format.

Command Mode Shortcuts

Action Vi Shortcut keys
Enter command mode :
write :w
quit :q
quit without saving :q!
Write and quit :wq
Write and quit ZZ
open :e
Escape command mode Esc
undo the last command u

Read More: 45 Zoho Writer Shortcuts for Windows & Mac

Setting your status Shortcuts

Action Vi Shortcut keys
delete word d w
delete line d d
put after cursor P
put before cursor P
copy word y w
copy line y y

From Normal to Edit Mode Shortcuts

Action Vi Shortcut keys
Insert at the current position I
Insert at the start of the line I
Append to the end of the line A
Insert Line Below O
Insert Line Above O
Delete the character at the current position and insert S
Delete the current line and insert S

Read More: 85 Call of Duty Shortcuts for Windows

Fast Search Shortcuts

Action Vi Shortcut keys
Search Term /
Next N
Previous Shift + N

Cursor Navigation Shortcuts

Action Vi Shortcut keys
Next line J
Previous line K
Left H
Right L
Bottom of document Shift + G
Top of document G G

Vi was the older version of what today is known as Vim. In other words, it is an enhanced version of Vim. Vim is a text editor for Linux devices. A list of Vim Shortcuts to has been written by us!

READ NEXT:

FAQs

What are the 3 kinds of commands in Vi?

There are three types of Command in Vi: 1. Command Mode: It is the first screen of the Vi editor. Here you can use the Vi Shortcuts to navigate, delete, copy, paste, and do other tasks except entering the text 2. Insert Mode: Press “I” to enter the insert mode. Here you can enter the text. 3. Escape Mode: Press “:” to enter the escape mode. Use this mode to save files and execute the commands.

How do I start and exit in VI?

The command to quit Vi without saving is : q Press Esc to enter the Command Mode. The command to quit Vi by saving is: wq or simply type ZZ command.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button