easygrep.vim 496 B

1234567891011121314
  1. " use ack for grepping if available
  2. "if executable('ack-grep')
  3. "set grepprg=ack-grep\ --with-filename\ --nocolor\ --nogroup
  4. "elseif executable('ack')
  5. "set grepprg=ack\ --with-filename\ --nocolor\ --nogroup
  6. "endif
  7. " don't display ack/grep terminal output. NOTE: not reliable
  8. " https://github.com/mileszs/ack.vim/issues/18
  9. "set shellpipe=&>
  10. "let g:EasyGrepRecursive = 1
  11. "let g:EasyGrepHighlightQfMatches = 1
  12. "let g:EasyGrepReplaceWindowMode = 2 " Edit and save in place (no new tabs/splits)