5 ms·
One I use often but haven't seen here yet is `i(` or `i{` or `it`. Basically an adverb for "inside parentheses", "inside braces", or "inside html tags". I most
by Mimmy 3y ago
One I use often but haven't seen here yet is `i(` or `i{` or `it`. Basically an adverb for "inside parentheses", "inside braces", or "inside html tags".
I most commonly use it in combination with `c` to rewrite whatever was inside. For example `ci(` will automatically delete everything inside either the current parentheses or the next closest pair of parentheses and put me in insert mode.
- AntonyGarand 3y agoIn this same vein I also use `a`: `a(` `a{` `at`, which I use as "around [item]". It behaves like `i` but also includes the "container", which is especially useful with html tags as you can quickly change or delete the whole tag this way.