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 resizing #4

Open
roginfarrer opened this issue Oct 14, 2021 · 1 comment
Open

Window resizing #4

roginfarrer opened this issue Oct 14, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@roginfarrer
Copy link

Because this plugin already replaces some of the functionality of https://github.com/simeji/winresizer, I think it would be great to have the window resizing feature of that plugin.

While window resizing could be easily mapped to key mappings, that lacks the context awareness that winresizer provides.
The great thing that winresizer does is that the functionality of using hjkl to expand/reduce the size of a window changes depending on the orientation of that window compared to others. For example, if you have two vertical splits in front of you, and the right window has focus, h will expand the window's width, and l will collapse it. If the left window has focus, the keys swap functionality.

@sindrets
Copy link
Owner

Personally I don't care much for something like this. I've gotten used to non-contextual window resize mappings since long ago. That's the way it works in my WM as well, and I like having similar mappings and behavior both there and in vim. But if you would like to contribute a PR I'd be open to include it.

@sindrets sindrets added the enhancement New feature or request label Oct 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants