Vim Tips - fordsfords/fordsfords.github.io GitHub Wiki
https://github.com/fordsfords/fordsfords.github.io/wiki/Vim-Tips
vim [+loc] [file] (loc=num or loc=/pat/) :[size ]split [+loc][file] :only :res n - resize ^W^W next window :[range]g[!]/pat/cmd - cmd on lines [not] matching pat RE: s/a\nb/a\rb/ \_ prefix for "and newline". e.g. \_[abc] \< begin word, \> end word, \%^ bof, \%$ eof \s white, \S non-white, \w word, \W non-word \a alpha, \A non-alpha, \d digit, \D non-digit \e esc, \t tab, \r cr, \n nl, \b bs *, \+, \= (0 or 1), {1} (minimal *) ^, \_^ (mid-pat), $, \_$ (mid-pat) \c ignore case