|
Switch to Insert mode |
||
|
Switch to Command mode |
||
|
Save and continue editing |
||
|
Save and quit/exit vi |
||
or
|
|||
|
Quit vi and do not save changes |
||
|
Yank (copy) a line of text |
||
|
Paste a line of yanked text below the current line |
||
|
Open a new line under the current line |
||
|
Open a new line above the current line |
||
|
Append to the end of the line |
||
|
Append after the cursor's current position |
||
|
Insert text at the beginning of the current line |
||
|
Go to the beginning of the word |
||
|
Go to the end of the word |
||
|
Delete a single character |
||
|
Delete an entire line |
||
|
Delete X number of lines |
||
|
Yank X number of lines |
||
|
Go to the last line in a file |
||
|
Go to line X in a file |
||
|
Go to the first line in a file |
||
|
Display the current line's line number |
||
|
Move left one character |
||
|
Move down one line |
||
|
Move up one line |
||
|
Move right one character |
What is your favorite vi editor hotkey? Do you have any useful tips for it? Let other users know below.
1087118 169
488189 8
406144 371
349419 6
296277 5
269687 32
6 hours ago
7 hours ago Updated!
20 hours ago Updated!
Yesterday
Yesterday
2 days ago Updated!
Latest articles