Override using ranger in gvim

This commit is contained in:
Talia 2019-10-01 09:14:01 +02:00
parent 3b78fac2eb
commit 75e658b5f5
1 changed files with 3 additions and 0 deletions

3
gvimrc
View File

@ -55,5 +55,8 @@ function! SetFontSize(size)
end end
endfun endfun
" Override using ranger for picking files
nnoremap <leader><space> :e %:p:h<CR>
command! -nargs=1 SetFontSize call SetFontSize(<f-args>) command! -nargs=1 SetFontSize call SetFontSize(<f-args>)
command! ResetFontSize call SetFontSize(s:fontsize) command! ResetFontSize call SetFontSize(s:fontsize)