From 54c0e57b20fd4c94c6bbacaa9c53bf3847e34003 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 25 Jan 2023 13:13:00 +0000 Subject: [PATCH] Stop centering the current line in the window --- vimrc | 3 --- 1 file changed, 3 deletions(-) diff --git a/vimrc b/vimrc index 4f2438f..99e03cb 100644 --- a/vimrc +++ b/vimrc @@ -147,9 +147,6 @@ if has('autocmd') autocmd User GoyoEnter Limelight autocmd User GoyoLeave Limelight! - - autocmd BufEnter,WinEnter,WinNew,VimResized * - \ let &scrolloff=winheight(win_getid())/2 endif if has('folding')