mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-23 04:37:37 +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>
|
nmap <leader>* :Grepper -cword -noprompt<cr>
|
||||||
command! Todo Grepper -noprompt -query TODO
|
command! Todo Grepper -noprompt -query TODO
|
||||||
if executable('ag')
|
if executable('ag')
|
||||||
|
command -nargs=+ Ag :GrepperAg <args>
|
||||||
set grepprg=ag\ --nogroup\ --nocolor
|
set grepprg=ag\ --nogroup\ --nocolor
|
||||||
endif
|
endif
|
||||||
if executable('ack')
|
if executable('ack')
|
||||||
set grepprg=ack
|
set grepprg=ack
|
||||||
|
command -nargs=+ Ack :GrepperAck <args>
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user