[misc] c-p for fzf-open for both ranger/vim
This commit is contained in:
parent
d68d31e9bc
commit
39244003bd
|
@ -215,7 +215,8 @@ nnoremap <leader>gsc :exec "!git switch -c " . input("Enter new branch name:")<C
|
|||
" ==== fzf configuration ====
|
||||
" enable <C-p> for fzf
|
||||
let g:fugitive_no_maps=1
|
||||
nnoremap <C-o> :GitFiles<Cr>
|
||||
|
||||
nnoremap <C-p> :GitFiles<Cr>
|
||||
nnoremap <leader>gco :call fzf#run({'source': 'git branch \| cut -c 3-; git tag -l', 'sink': '!git checkout'})<CR>
|
||||
nnoremap <leader>gm :call fzf#run({'source': 'git branch \| cut -c 3-', 'sink': '!git merge'})<CR>
|
||||
|
||||
|
|
|
@ -7,4 +7,4 @@ set draw_borders both
|
|||
set vcs_aware true
|
||||
map cg eval import subprocess;fm.cd(subprocess.getoutput('git rev-parse --show-toplevel'))
|
||||
map <C-t> fzf_select
|
||||
map <C-o> fzf_edit
|
||||
map <C-p> fzf_edit
|
||||
|
|
Loading…
Reference in New Issue
Block a user