30 Vi Keyboard Shortcuts

Vi Shortcuts will assist you in editing existing files and composing new emails. Initially, it may require some effort, but soon it will become second nature to you. This will streamline your writing, programming, and data manipulation tasks. In Command Mode, almost every key on the keyboard serves a specific function.

Download Vi Shortcuts PDF

Vi is highly popular due to its efficient command system. Vi aims to provide users with a robust editing experience without the need to leave the keyboard row. The Command Mode makes use of the below list of Vi shortcuts, which help navigate files, manipulate text, and search and replace phrases. Download the Vi shortcuts list in PDF format.

Command Mode Shortcuts

Action Vi Shortcuts
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

Similar Programs: Notepad 2 Keyboard Shortcuts

Setting your status Shortcuts

Action Vi Shortcuts
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 Shortcuts
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

Similar Programs: Visual Studio Code Shortcuts

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 precursor to what is now known as Vim, an enhanced version of Vi. Vim is a text editor commonly used on Linux devices. We have compiled a list of Vim Shortcuts for your reference!


Leave a Reply

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

Back to top button