configure vim-grepper

This commit is contained in:
Thomas Ruoff
2018-01-16 17:59:01 +01:00
parent 3bf7bd3e64
commit c88ce5e080

10
vimrc
View File

@@ -263,6 +263,14 @@ let g:gutentags_file_list_command = {
\ }, \ },
\ } \ }
"" Grepper
nnoremap <leader>g :Grepper -tool git<cr>
nnoremap <leader>G :Grepper -tool ag<cr>
nnoremap <leader>* :Grepper -tool ag -cword -noprompt<cr>
nmap gs <plug>(GrepperOperator)
xmap gs <plug>(GrepperOperator)
"" fzf "" fzf
nnoremap <leader>bb :Buffers<cr> nnoremap <leader>bb :Buffers<cr>
nnoremap <leader>ff :GFiles<cr> nnoremap <leader>ff :GFiles<cr>
@@ -289,7 +297,7 @@ if filereadable(expand("~/.vim/lightline.vim"))
endif endif
"" Indent Guides "" Indent Guides
nnoremap <leader>g :IndentGuidesToggle<CR> nnoremap <leader>ig :IndentGuidesToggle<CR>
"" Ultisnips "" Ultisnips
let g:UltiSnipsExpandTrigger="<c-j>" let g:UltiSnipsExpandTrigger="<c-j>"