How can I do a "grep" on all vim buffer ?

Something like

        :set hidden
        :bufdo g/pattern/#

is what I usually use for this. It iterates over each buffer and prints each line (along with its line number) that matches "pattern".

-tim


Reply via email to