mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-23 03:27:34 +00:00
Cleanup for Grepper
This commit is contained in:
parent
dc08f01422
commit
ee774a65e9
@ -65,12 +65,13 @@ let g:grepper = {
|
|||||||
\ }
|
\ }
|
||||||
command! -nargs=* -complete=file Grep Grepper! -tool ag -query <args>
|
command! -nargs=* -complete=file Grep Grepper! -tool ag -query <args>
|
||||||
nmap <leader>* :Grep<Space>'\b<c-r><c-W>\b'<CR>
|
nmap <leader>* :Grep<Space>'\b<c-r><c-W>\b'<CR>
|
||||||
|
if executable('ack')
|
||||||
|
command! -nargs=* -complete=file Ack Grepper! -tool ack -query <args>
|
||||||
|
nmap <leader>* :Ack<Space>'\b<c-r><c-W>\b'<CR>
|
||||||
|
endif
|
||||||
if executable('ag')
|
if executable('ag')
|
||||||
command! -nargs=* -complete=file Ag Grepper! -tool ag -query <args>
|
command! -nargs=* -complete=file Ag Grepper! -tool ag -query <args>
|
||||||
endif
|
nmap <leader>* :Ag<Space>'\<<c-r><c-W>\>'<CR>
|
||||||
if executable('ack')
|
|
||||||
nmap <leader>* :Grep<Space>'\<<c-r><c-W>\>'<CR>
|
|
||||||
command! -nargs=* -complete=file Ack Grepper! -tool ack -query <args>
|
|
||||||
endif
|
endif
|
||||||
command! Todo Grep TODO
|
command! Todo Grep TODO
|
||||||
" }} vim-grepper
|
" }} vim-grepper
|
||||||
|
Loading…
Reference in New Issue
Block a user