Override using ranger in gvim

This commit is contained in:
Talia 2019-10-01 09:14:01 +02:00
parent 3b78fac2eb
commit 75e658b5f5

3
gvimrc
View file

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