Change vim centering offset
This commit is contained in:
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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user