diff options
author | Urbain Vaes <urbain@vaes.uk> | 2016-09-21 11:07:30 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2016-09-21 11:07:30 +0100 |
commit | 0da3d56ca20efe17f3b01b03fbe514e222b62661 (patch) | |
tree | 9be199d2526f9dce899c99eef31c2f8556a06ccf /vim/.vimrc | |
parent | f48f9065c12395354def7b5d8277800e7fcc6c71 (diff) |
[vimrc] Update fzf mappings
Diffstat (limited to 'vim/.vimrc')
-rw-r--r-- | vim/.vimrc | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -81,12 +81,17 @@ nnoremap cpt :TagbarToggle<cr> nnoremap cpu :GundoToggle<cr> " Fuzzy finder +nnoremap <c-p>a :Ag nnoremap <c-p>b :Buffers<cr> +nnoremap <c-p>c :Commands<cr> nnoremap <c-p>f :Files<cr> -nnoremap <c-p>r :History<cr> nnoremap <c-p>g :GitFiles<cr> -nnoremap <c-p>c :Colors<cr> -nnoremap <c-p>h :History:<cr> +nnoremap <c-p>hf :History<cr> +nnoremap <c-p>h: :History:<cr> +nnoremap <c-p>h/ :History/<cr> +nnoremap <c-p>l :BLines<cr> +nnoremap <c-p>m :Marks<cr> +nnoremap <c-p>t :Tags<cr> imap <c-x><c-l> <plug>(fzf-complete-line) imap <c-x><c-f> <plug>(fzf-complete-file) @@ -271,7 +276,7 @@ nnoremap cqc :cclose<cr> nnoremap got :call system('urxvt -cd '.getcwd().' &')<cr> nnoremap goT :call system('urxvt -cd '.expand("%:p:h").' &')<cr> -nnoremap gof :call system('urxvt -e vifm '.expand("%:p:h").' '.expand("%:p:h").' &')<cr> +nnoremap gof :call system('urxvt -e vifm '.getcwd().' '.getcwd().' &')<cr> nnoremap goF :call system('urxvt -e vifm '.expand("%:p:h").' '.expand("%:p:h").' &')<cr> nnoremap <LocalLeader>h :e %:p:s,.hpp$,.X123X,:s,.cpp$,.hpp,:s,.X123X$,.cpp,<CR> |