§ Big list of Vim
§ Using :grep
and friends
:grep
- This will populate the error window.
- Open the error window with
:copen
. - Thanks to
vim-unimpaired
, going next/previous is as easy as [q
and ]q
(q
for quickfix
).
§ sed matching syntax
-
\
: match word starting and ending.
§ vim motion mnemonics
- f - (f)ind a character forward in a line and move to it- T - find a character backward in a line and move un(t)il it
- t - find a character forward in a line and move un(t)il it (one character before)- F - (f)ind a character backward in a line and move to it
§ vim unimpaired for loclist movement
§ vim-ninja-feet for motions using text objects
With it installed, add [ or ] between the operator and text object to specify
which end you wish edit: press c]i} to perform the edit you describe.
a)
: a parentheses blocki)
: inner parentheses blocka]
: a bracketed blocki]
: inner bracketed blocka}
: a brace blocki}
: inner brace block