tmux-pain-control
tmux-pain-control copied to clipboard
Split Keys seem inconsistent
The documentation says:
prefix + |
split current pane horizontally
prefix + -
split current pane vertically
prefix + \
split current pane full width horizontally
prefix + _
split current pane full width vertically
I have two problems:
-
The vertical split documentation seems backwards to what actually works: For me pressing _ gets a vertical split, and - gets a full-width vertical split. This actually makes more sense to me than the way it is described in the documentation.
-
The horizontal split is inconsistent from the vertical split: For full vertical splits you press shift, but for full horizontal splits you don't press shift. For in-pane vertical splits you do not press shift, but for in-pane horizontal splits you do press shift.
I suppose this depends on your keyboard (mine is standard US layout), but this seems inconsistent.
I tried changing the bindings in my tmux.conf file, but it doesn't work - is it possible to change the plugin so it doesn't overwrite customizations? I've seen that other plugins work that way.
Thanks!
This is probably due to the naming convention that tmux uses for the split direction.
Sent from my Google Pixel XL using FastHub
I tried changing the bindings in my tmux.conf file, but it doesn't work - is it possible to change the plugin so it doesn't overwrite customizations? I've seen that other plugins work that way.
I'd like something similar too. Navigation/move/resizing key bindings are nice, but I'd like to keep my split key bindings. Current "workaround" is to just adapt pain_control.tmux
into my main tmux.conf
.
You could probably add an override parameter for the plugin similar to how the recently opened pull request has. Otherwise it would be a good overall enhancement for the plugin to figure out how the other plugins avoid clobbering existing settings.