Showing posts with label quickfix. Show all posts
Showing posts with label quickfix. Show all posts

Tuesday, July 2, 2013

Using Vim's quickfix with the output of grep

Set makeprg and errorformat to use Vim's quickfix list with a custom external program.

These settings ...

  :setlocal makeprg=abj-grp\ READ
  :setlocal errorformat=%f:%l:%m

... work when running the custom command abj-grp READ on a tree of the filesystem.