tmux-ssh-split icon indicating copy to clipboard operation
tmux-ssh-split copied to clipboard

[feature request] Make tmux-ssh-split work with set -g mouse on

Open tracure1337 opened this issue 1 year ago • 3 comments

[feature request] Make tmux-ssh-split work with set -g mouse on

image

Thank you so much for your consideration.

tracure1337 avatar Jul 25 '24 10:07 tracure1337

Interesting idea. I guess the easiest way to implement that would be by creating a custom menu and override the binding used to show the default menu :thinking:

pschmitt avatar Jul 25 '24 14:07 pschmitt

Ref:

The default menu is defined as: https://github.com/tmux/tmux/blob/109d2bda1a7b06948e35b7e08c159e71ebc988fb/key-bindings.c#L48-L70

pschmitt avatar Jul 25 '24 14:07 pschmitt

Not easier keeping the menu and just override:

	" 'Horizontal Split' 'h' {split-window -h}" \
	" 'Vertical Split' 'v' {split-window -v}" \

with ssh-split ones?

But I have no idea actually :-)

tracure1337 avatar Jul 26 '24 09:07 tracure1337