-
Notifications
You must be signed in to change notification settings - Fork 14
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
Resize prefers the right side #6
Comments
If you run PlugUpdate or equivalent I have fixed this in |
I'm getting exactly the same behavior, except I'm not using |
I could port a similar solution to The solution however when you are animating is a lot more complex: https://github.com/camspiers/animate.vim/blob/master/plugin/animate.vim#L97-L124 |
I came here to ask whether this is the intended behaviour, and found this ticket. I too prefer not to use |
Please! :) Animate on windows is not that usable |
Hi, @camspiers ! I have implemented what you have mentioned in your comment:
Could you look into it? Thanks! (and for the plugin, love it!) |
Apparently, the resize in vim first increases the size to right, and tries to increase size to the left only if there isn't enough space to the right. So, if number of splits is greater than 2, the behavior is as follows:
![ezgif.com-video-to-gifdfd0ca7d13ad1504.gif](https://camo.githubusercontent.com/9b7771fed26190e5160d387cf05fdcd1c3c97fc2467c9cacb889b52a3fa8887b/68747470733a2f2f73352e67696679752e636f6d2f696d616765732f657a6769662e636f6d2d766964656f2d746f2d676966646664306361376431336164313530342e676966)
The leftmost split is untouched and all the resizing is happening between the last 2. #2 is clearly the result of this as well.
Setting
winminwidth
helps, but not much. Perhaps, there is a way to resize a window in both sides?The text was updated successfully, but these errors were encountered: