vim:NrrwRgn: Don't let splits take full width

The default setting of `g:loaded_nrrw_rgn` is `topleft` which opens the
split at the very top/far left and makes the window have full
width/height. This is very annoying when narrowing multiple splits.
This commit is contained in:
2024-10-30 15:47:03 +01:00
parent c7aae00e65
commit d87d2cfee5

View File

@@ -35,3 +35,9 @@ if (get(g:, 'loaded_vimwiki'))
" Use vertical box drawing character as table separator
call vimwiki#vars#set_syntaxlocal('rxTableSep', '│')
endif
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'
endif