Change vim centering offset
This commit is contained in:
parent
89d5709677
commit
12969578aa
2
vimrc
2
vimrc
|
@ -1079,7 +1079,7 @@ function! CenterPane()
|
|||
" Taken from https://dev.to/vinneycavallo/easily-center-content-in-vim
|
||||
lefta vnew
|
||||
wincmd w
|
||||
exec 'vertical resize' string(&columns * 0.75)
|
||||
exec 'vertical resize' string(&columns * 0.65)
|
||||
endfunction
|
||||
nnoremap <leader>c :call CenterPane()<cr>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user