diff --git a/vim/rc/plugins/vim-grepper.rc.vim b/vim/rc/plugins/vim-grepper.rc.vim index bb66f9f..bf58544 100644 --- a/vim/rc/plugins/vim-grepper.rc.vim +++ b/vim/rc/plugins/vim-grepper.rc.vim @@ -13,8 +13,10 @@ xmap gs (GrepperOperator) nmap * :Grepper -cword -noprompt command! Todo Grepper -noprompt -query TODO if executable('ag') + command -nargs=+ Ag :GrepperAg set grepprg=ag\ --nogroup\ --nocolor endif if executable('ack') set grepprg=ack + command -nargs=+ Ack :GrepperAck endif