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