nvim: init.vim: Add missing shortcut for Rg

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-12-09 18:49:11 +05:30
parent 2a5e0f8a73
commit e86154f9e1

View file

@ -222,6 +222,7 @@ nnoremap <Leader>vm :Commands<CR>
nnoremap <Leader>vo :Locate<SPACE> nnoremap <Leader>vo :Locate<SPACE>
nnoremap <Leader>vk :Maps<CR> nnoremap <Leader>vk :Maps<CR>
nnoremap <Leader>d :exe ':Rg ' . expand('<cword>')<CR> nnoremap <Leader>d :exe ':Rg ' . expand('<cword>')<CR>
nnoremap <Leader>/ :Rg<CR>
" Quick buffer switching " Quick buffer switching
nnoremap <Leader>b :ls<CR>:b<Space> nnoremap <Leader>b :ls<CR>:b<Space>
" Undo tree " Undo tree