nixpkgs/home/programs/neovim/config/grepping.vim
Daniel Siepmann 3b8e4e757f
Use native vim plugin ctrlp file searching
This respects wildignore and removes need for custom grep command.
2022-03-14 09:47:01 +01:00

8 lines
217 B
VimL

" Switch vim to use fastes possible tool for grepping
" Use ack over grep
if executable('ack')
set grepprg=ack\ --nogroup\ --nocolor
command! -nargs=+ Ag execute 'silent grep! <args>' | copen | redraw!
endif