From 0da3d56ca20efe17f3b01b03fbe514e222b62661 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 21 Sep 2016 11:07:30 +0100 Subject: [vimrc] Update fzf mappings --- vim/.vimrc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index 0baab27..9e93a22 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -81,12 +81,17 @@ nnoremap cpt :TagbarToggle nnoremap cpu :GundoToggle " Fuzzy finder +nnoremap a :Ag nnoremap b :Buffers +nnoremap c :Commands nnoremap f :Files -nnoremap r :History nnoremap g :GitFiles -nnoremap c :Colors -nnoremap h :History: +nnoremap hf :History +nnoremap h: :History: +nnoremap h/ :History/ +nnoremap l :BLines +nnoremap m :Marks +nnoremap t :Tags imap (fzf-complete-line) imap (fzf-complete-file) @@ -271,7 +276,7 @@ nnoremap cqc :cclose nnoremap got :call system('urxvt -cd '.getcwd().' &') nnoremap goT :call system('urxvt -cd '.expand("%:p:h").' &') -nnoremap gof :call system('urxvt -e vifm '.expand("%:p:h").' '.expand("%:p:h").' &') +nnoremap gof :call system('urxvt -e vifm '.getcwd().' '.getcwd().' &') nnoremap goF :call system('urxvt -e vifm '.expand("%:p:h").' '.expand("%:p:h").' &') nnoremap h :e %:p:s,.hpp$,.X123X,:s,.cpp$,.hpp,:s,.X123X$,.cpp, -- cgit v1.2.3