Insert Commands
|
|
Append after cursor. |
|
|
Append to end of line. |
|
|
Begin change operation. |
|
|
Change to end of line. |
|
|
Insert at beginning of line. {vim} |
|
|
Insert before cursor. |
|
|
Insert at beginning of line. |
|
|
Open a line below cursor. |
|
|
Open a line above cursor. |
|
|
Begin overwriting text. |
|
|
Substitute a character. |
|
|
Substitute entire line. |
|
|
Terminate insert mode. |
The following commands work in insert mode.
|
BACKSPACE |
Delete previous character. |
|
DELETE |
Delete current character. |
|
TAB |
Insert a tab. |
|
CTRL-A |
Repeat last insertion. {vim} |
|
CTRL-D |
Shift line left to previous shift width. {vim} |
|
CTRL-E |
Insert character found just below cursor. {vim} |
|
CTRL-H |
Delete previous character (same as Backspace). |
|
CTRL-I |
Insert a tab. |
|
CTRL-K |
Begin insertion of multi-keystroke character. |
|
CTRL-N |
Insert next completion of the pattern to the left of the cursor. {vim} |
|
CTRL-P |
Insert previous completion of the pattern to the left of the cursor. {vim} |
|
CTRL-T |
Shift line right to next shift width. {vim} |
|
CTRL-U |
Delete current line. |
|
CTRL-V |
Insert next character verbatim. |
|
CTRL-W |
Delete previous word. |
|
CTRL-Y |
Insert character found just above cursor. {vim} |
|
CTRL-[ |
(ESCAPE) Terminate insert mode. |
Some of the control characters listed in the previous table
are set by stty. Your terminal
settings may differ.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access