mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:27:34 +00:00
Add Ag command back
This commit is contained in:
parent
c24f602769
commit
9867116073
@ -13,8 +13,10 @@ xmap gs <plug>(GrepperOperator)
|
||||
nmap <leader>* :Grepper -cword -noprompt<cr>
|
||||
command! Todo Grepper -noprompt -query TODO
|
||||
if executable('ag')
|
||||
command -nargs=+ Ag :GrepperAg <args>
|
||||
set grepprg=ag\ --nogroup\ --nocolor
|
||||
endif
|
||||
if executable('ack')
|
||||
set grepprg=ack
|
||||
command -nargs=+ Ack :GrepperAck <args>
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user