Vim tips
Find/replace
- Immediately after searching a pattern with
/usec//eto replace the currently highlighted match. - Refer to
:help pattern-atomsfor some basic info about Vim's default GREP flavor.1
Multiplexing
Vanilla Vim is adequate for basic multiplexing: multiplexing-in-vanilla-vim.html
Targeting nouns
- Around (whole noun):
<verb> i <noun> - Inside (inner content):
<verb> i <noun>
Moving the cursor
- Scroll up:
<C-u> - Scroll down:
<C-d> - Go to previous
{:[{ - Go to next
}:]}
Footnotes:
1
TODO Write a note about Vim GREP, referring to this superb article: https://thevaluable.dev/regular-expression-basics-vim-grep/