From 12969578aab6234fadf5282da173d47f02e2dfe0 Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Sun, 22 Jan 2023 08:34:06 -0500 Subject: [PATCH] Change vim centering offset --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 2cb78ac..8df4979 100644 --- a/vimrc +++ b/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 c :call CenterPane()