[misc] unify \cg for ranger/vim
This commit is contained in:
parent
39244003bd
commit
e69968efe4
|
@ -193,7 +193,7 @@ nnoremap <leader>k :cp<CR>
|
|||
" ==== Ranger configuration ====
|
||||
let g:ranger_map_key = 0
|
||||
nnoremap <C-t> :Ranger<CR>
|
||||
nnoremap <leader>cg :call OpenRangerIn(system('git rev-parse --show-toplevel') . '/', 'edit ')<CR>
|
||||
nnoremap <leader>cg :call OpenRangerIn(system('git rev-parse --show-toplevel'), 'edit ')<CR>
|
||||
|
||||
|
||||
" ==== fugitive configuration ====
|
||||
|
|
|
@ -5,6 +5,6 @@ set colorscheme solarizedmod
|
|||
default_linemode devicons
|
||||
set draw_borders both
|
||||
set vcs_aware true
|
||||
map cg eval import subprocess;fm.cd(subprocess.getoutput('git rev-parse --show-toplevel'))
|
||||
map \cg eval import subprocess;fm.cd(subprocess.getoutput('git rev-parse --show-toplevel'))
|
||||
map <C-t> fzf_select
|
||||
map <C-p> fzf_edit
|
||||
|
|
Loading…
Reference in New Issue
Block a user