|
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.
1104707
497416
410826
364470
305997
276422
15 hours ago
16 hours ago Updated!
1 days ago Updated!
1 days ago Updated!
2 days ago
2 days ago Updated!
Latest articles