Window resizing
roginfarrer opened this issue · 1 comments
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.
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.