vim:cheatsheet:insert_mode_-_inserting_appending_text
Differences
This shows you the differences between two versions of the page.
vim:cheatsheet:insert_mode_-_inserting_appending_text [2021/02/16 09:25] – created peter | vim:cheatsheet:insert_mode_-_inserting_appending_text [2021/02/16 09:26] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== VIM - Cheatsheet - Insert mode - inserting/ | ====== VIM - Cheatsheet - Insert mode - inserting/ | ||
+ | < | ||
+ | i - insert before the cursor | ||
+ | I - insert at the beginning of the line | ||
+ | | ||
+ | a - insert (append) after the cursor | ||
+ | A - insert (append) at the end of the line | ||
+ | | ||
+ | o - append (open) a new line below the current line | ||
+ | O - append (open) a new line above the current line | ||
+ | | ||
+ | ea - insert (append) at the end of the word | ||
+ | | ||
+ | Ctrl + h - delete the character before the cursor during insert mode | ||
+ | Ctrl + w - delete word before the cursor during insert mode | ||
+ | | ||
+ | Ctrl + j - begin new line during insert mode | ||
+ | | ||
+ | Ctrl + t - indent (move right) line one shiftwidth during insert mode | ||
+ | Ctrl + d - de-indent (move left) line one shiftwidth during insert mode | ||
+ | | ||
+ | Ctrl + n - insert (auto-complete) next match before the cursor during insert mode | ||
+ | Ctrl + p - insert (auto-complete) previous match before the cursor during insert mode | ||
+ | | ||
+ | Ctrl + rx - insert the contents of register x | ||
+ | | ||
+ | Esc - exit insert mode | ||
+ | </ |
vim/cheatsheet/insert_mode_-_inserting_appending_text.1613467537.txt.gz · Last modified: 2021/02/16 09:25 by peter