wezterm
wezterm copied to clipboard
Ability to drag re-order tabs, panes
It could be nice to have similar features to Konsole for managing the terminal windows (tabs, panes) with the mouse.
The only other place where I have seen a good mouse support for tiles like that was in Sway, which extends to all the desktop.
Would be awesome to drag tabs (and maybe panes?) between windows as part of this - similar to how browsers behave.
Related to https://github.com/wez/wezterm/issues/1253
Same, except not-necessarily by mouse, for example emulating tmux' rotate-window and swap-pane commands
In the nightly there are a few new key assignments:
And from the CLI:
- https://wezfurlong.org/wezterm/cli/cli/move-pane-to-new-tab.html
- https://wezfurlong.org/wezterm/cli/cli/split-pane.html -
wezterm cli split-pane --move-pane-id IDcan move a pane into a newly created split
There's no mouse equivalent functionality as of yet.
I too would love to see the ability to drag tabs to rearrange them in wezterm.
Would it be possible to to add default bindings for the reorder tab left/right options? Something with [/] would be great to keep it similar to the change tabs action. Maybe alt+[?
@tgross35 there are already default assignments. You are welcome to add whatever assignments you like via your config file.
$ wezterm -n show-keys | grep MoveTab
SHIFT | CTRL PageUp -> MoveTabRelative(-1)
SHIFT | CTRL PageDown -> MoveTabRelative(1)