Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window size and active window with session files #63

Open
ghost opened this issue Jan 13, 2015 · 1 comment
Open

Window size and active window with session files #63

ghost opened this issue Jan 13, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 13, 2015

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.

@count-ellington
Copy link

count-ellington commented Jul 17, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant