Vim: More Tips

If you've been following along with all my ramblings about Vim, you may enjoy this other guy's rambling about Vim. I learned:
Re-indent current line.
Re-indent block.
Grepping in vim:
:grep -r vim .
:cn Display the next grep finding.
:cp Display the previous grep finding.
:cw Open the QuickFix window to get an overview over the results.
Use this instead of tab completion to see all the options.
:set spell
Turn on the spell checker.


Unknown said…
:copen is useful.
Unknown said…
so :cw is for :copen


what's the difference between :vimgrep and :grep ? :O
jjinux said…
:vimgrep vs. :grep

I think one is internal and the other shells out.