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

wincmd H/J/K/L doesn't respect 'winfixwidth' and 'winfixheight' #1502

Open
tweekmonster opened this issue Feb 21, 2017 · 1 comment
Open

Comments

@tweekmonster
Copy link

Tested in 8.0.0344 and 7.4.1689.

For the problem with winfixheight, there has to already be two vertical windows. This is not an issue if there are only only horizontally stacked windows.

:vs
:split | resize 10 | set winfixheight | wincmd J
:split | resize 10 | set winfixheight | wincmd J

Screnshot: https://share.esdf.io/EWMaajBW9I/

In the case of winfixwidth, there are no prerequisites:

:vs | vertical resize 20 | set winfixwidth | wincmd L

The first time the above commands are run, the windows are equal widths. Repeating it creates smaller windows to the far right, but never the width I expected until there isn't enough room to spread them out.

Screenshot (after three runs): https://share.esdf.io/y9erLk1KaI/

@tweekmonster
Copy link
Author

I think #931 may be related.

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