Fix Rag and add <leader>ag shortcut

This commit is contained in:
Julian Ospald
2018-08-19 14:15:09 +08:00
parent 3adeb5e04e
commit 275a07bf4e
2 changed files with 7 additions and 4 deletions

View File

@@ -155,5 +155,6 @@ nnoremap <C-A> ggVG<CR>
inoremap <C-A> <C-O>:call Select()<CR>
" fzf
nnoremap <leader>ag :call fzf#vim#ag(expand('<cword>'), WithGitRoot())<CR>
nnoremap <leader>tg :call fzf#vim#tags(expand('<cword>'), {'options': '--exact --select-1 --exit-0'})<CR>