Window size and active window with session files
Opened this issue · 1 comments
Hi, i use tpope/vim-obsession
for saving and loading vim session files. After starting vim on a session file like vim -S .Session.vim
, dwm.vim
seems to respect the sizes of the windows, yet the windows contain different buffers than before. In other words: it seems to me, that one of the buffers gets moved to the master pane and hereby rearranges all buffer locations, just like Ctrl-space
.
If i move the desired window to the master pane, the layout size isn't respected any more - it seems to me like a Ctrl-W =
is done.
My issue, the currently newest one #73 is at least partially what you were experiencing. The fix is to disable the autocommand when sourcing files. You can see my comment to myself there on my fix