Re: grep in all buffers
>is there a way of searching for a string in all open buffers, instead of:help :bufdo
>just the current one?
Although, searches ARE done on all buffers - use ":set hls" to highlight
matches. Then, all matches in all open buffers are highlighted.
So, :bufdo only makes sense when e.g. doing a replace in all buffers
If you really meant :grep, this is also possible :
:bufdo grep foo %