aserowy / tmux.nvim

tmux integration for nvim features pane movement and resizing from within nvim.
MIT License
642 stars 40 forks source link

Support specifying resize step in `resize_*` methods #125

Closed rudenkornk closed 2 weeks ago

rudenkornk commented 2 months ago

Currently, require("tmux").resize_left() and similar methods do not allow to specify resize step. They only inherit it from the global configuration.

In case one needs to specify different keys for different resize precision, this becomes inconvenient. For example, I would like to set smth like <A-h> for coarse resizing and <A-H> for more presize one.

aserowy commented 2 months ago

nice idea, you can pr anytime (if you like of course).

kind regards Alexander

voskresenie commented 2 weeks ago

I came to the repo here to open up an issue related to this and was glad to find you'd already signed off on the 'feature'. I opened up a PR #127 to implement the change.