From 04d3d6e87f10b6e9118eaef614fc1623b5b1661e Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Tue, 25 Nov 2025 17:19:34 +0100 Subject: [PATCH] vim:plugs:nrrwrgn: Add padding to small windows --- .config/vim/vimrc.d/20-plugins.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/vim/vimrc.d/20-plugins.vim b/.config/vim/vimrc.d/20-plugins.vim index 7ebaa18..5199748 100644 --- a/.config/vim/vimrc.d/20-plugins.vim +++ b/.config/vim/vimrc.d/20-plugins.vim @@ -56,4 +56,6 @@ if exists("g:loaded_nrrw_rgn") " Open narrow window above or to the left of the current window (default " is topleft). See :h aboveleft etc. let g:nrrw_topbot_leftright = 'aboveleft' + " Leave one more line of padding when the window is small + let g:nrrw_rgn_pad = 1 endif