vim
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| vim [2012/03/26 16:44] – javapimp | vim [2023/08/18 18:15] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Syntax Highlighting ====== | ||
| + | < | ||
| + | :syntax on | ||
| + | </ | ||
| + | |||
| + | This can also be added to '' | ||
| + | |||
| ====== Yank or delete between parentheses ====== | ====== Yank or delete between parentheses ====== | ||
| ===== Motion select ===== | ===== Motion select ===== | ||
| Line 62: | Line 69: | ||
| : | : | ||
| </ | </ | ||
| + | |||
| + | ====== Auto Indentation ====== | ||
| + | < | ||
| + | :set autoindent | ||
| + | :set cindent | ||
| + | </ | ||
| + | |||
| + | ====== Add/Remove indentation ====== | ||
| + | |||
| + | - Enter visual mode: '' | ||
| + | - Select the lines to indent. | ||
| + | - ''>'' | ||
| + | - '' | ||
| + | - '' | ||
| + | |||
| + | ====== Replace word with copied text ====== | ||
| + | |||
| + | - Yank (or delete) the text into a buffer: '' | ||
| + | - Move to the beginning of the word to replace. | ||
| + | - '' | ||
| + | |||
| + | ====== Reload the current file from disk ====== | ||
| + | |||
| + | * Reload the current file: '': | ||
| + | * Reload the current file after it's been modified: '': | ||
| + | |||
| + | ====== Change Case ====== | ||
| + | |||
| + | * Change word to lowercase: '' | ||
| + | * Change word to uppercase: '' | ||
| + | * Toggle word case (aBBa -> AbbA): '' | ||
| + | |||
vim.1332780267.txt.gz · Last modified: 2023/08/18 18:15 (external edit)