zellij
zellij copied to clipboard
[feature request] switch between mouse_mode enabled/disabled
Hello, as mentioned in issue 1330, would it be possible to add a new feature that would allow switching between mouse_mode enabled/disabled in live ? Maybe like the scroll mode but with another keybinding (CTRL + m), without having to change the config.yml every time ? That would be great, thanks !
Sounds great - only thing is we need to put it in one of the modes by default. I'd go for scroll/search mode.
I would appreciate an option key for not sending mouse clicks to the application inside the pane: I often find myself clicking into a pane to switch focus to it, but I don't want vim to move the cursor location.
Maybe the implementation could also contain a feature to only switch pane focus with e.g. shift+click and not sending the mouse event to the application?
@raphCode - how about we rig it so that mouse clicks will only be sent to focused panes?
That would work for me too. Mouse clicks to an application may require a double click then if the pane was previously unfocused. If it doesn't break someone's workflow, I am fine with that solution.
@raphCode - how about we rig it so that mouse clicks will only be sent to focused panes?
I actually just ran into a solution where this would be inconvenient and I would prefer a solution like shift+click
:
Clicking in the terminal emulator to raise its window to the front, so I can type into the terminal. When I click into the zellij pane which is currently focused, this would send the click to the app inside the pane (e.g. move cursor in vim).
Has this feature been supported?