mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:57:33 +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>
|
||||
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')
|
||||
command! -nargs=* -complete=file Ag Grepper! -tool ag -query <args>
|
||||
endif
|
||||
if executable('ack')
|
||||
nmap <leader>* :Grep<Space>'\<<c-r><c-W>\>'<CR>
|
||||
command! -nargs=* -complete=file Ack Grepper! -tool ack -query <args>
|
||||
nmap <leader>* :Ag<Space>'\<<c-r><c-W>\>'<CR>
|
||||
endif
|
||||
command! Todo Grep TODO
|
||||
" }} vim-grepper
|
||||
|
Loading…
Reference in New Issue
Block a user