Loading ...
Sorry, an error occurred while loading the content.

65317Re: ":global" results in quickfix window

Expand Messages
  • Marian Csontos
    Feb 1, 2006
      On Wed, 01 Feb 2006 14:39:47 +0100, Jean-Rene David <jrdavid@...>

      > I often use :g/foo/# to search for a pattern when I know
      > it occurs many times in a file and I want to avoid
      > using / followed by multiple "n"'s to find a
      > specific match.
      > Tip 1063
      > (http://www.vim.org/tips/tip.php?tip_id=1063)
      > shows how to save the output of :g to a file.
      > Has anyone had this working by sending the output
      > to the quickfix window?
      > I mean if it's just a matter of finding the right
      > 'errorformat' I'll figure it out. I just want to
      > know if someone's got it up and running already
      > before I spend the time.

      Hi, with vim7 it so easy - simply use :vimgrep


      -- Marian

      ________ Information from NOD32 ________
      This message was checked by NOD32 Antivirus System for Linux Mail Server.
      part000.txt - is OK
    • Show all 4 messages in this topic