dotfiles/symlinks/config/nvim/after/plugin/grepper.vim

16 lines
502 B
VimL
Raw Normal View History

2021-02-23 11:27:32 +00:00
" -----------------------------------------------------------------------------
" - vim-grepper configuration -
" -----------------------------------------------------------------------------
let g:grepper = {}
let g:grepper.tools = ['rg', 'git', 'grep']
" Search for the current word (similar to *)
nnoremap <Leader>* :Grepper -cword -noprompt<CR>
" Search for the current selection
nmap gs <Plug>(GrepperOperator)
xmap gs <Plug>(GrepperOperator)
2021-10-03 19:55:57 +00:00
command! -nargs=0 TODO GrepperGrep TODO