gnome-terminator / terminator

multiple GNOME terminals in one window
https://gnome-terminator.org
GNU General Public License v2.0
2.13k stars 257 forks source link

Consider new shortcuts for pane resizing #897

Open egmontkob opened 7 months ago

egmontkob commented 7 months ago

Terminator uses Ctrl+Shift+Arrows for resizing its panes.

You may want to consider switching to e.g. Alt+Shift+Arrows as done in Tilix.


Ctrl+Shift+Up/Down have scrolled VTE by a single line for ages. This feature isn't available in Terminator.

Brand new VTE 0.76 adds Ctrl+Shift+Left/Right as the shortcuts for jumping to the previous / next prompt. This is yet again unavalable in Terminator until you change the default shortcuts.

See e.g. https://unix.stackexchange.com/a/769005/53656.


Yes I know I know...

These should be configurable in VTE, along with Shift+PgUp/PgDn/Home/End. But they aren't. This would need an API for them, and a lot of boring boilerplate that VTE devs never found important enough during the last 20 years and it's probably going to stay this way for quite a while.

The choice of the new shortcut keys isn't ideal either, something with Up/Down directions would have made more sense, but the space is quite crowded.

It's a brand new feature, and the direction of further development (if any) will depend on user feedback.


Alternatively

I don't know if it's possible for Terminator to grab Alt+Shift+Arrows and pass them towards VTE as Ctrl+Shift+Arrows instead; to effectively move away VTE's shortcut keys rather than Terminator's. (Probably more complicated than adding those VTE APIs, especially if you still want to maintain user configurability of these shortcuts and clearly show on your Preferences UI what is going on.)

egmontkob commented 7 months ago

See also https://gitlab.gnome.org/GNOME/vte/-/issues/2774.