tabby-tmux vs tomux: two tmux plugins for Tabby

Both plugins use tmux control mode to show a tmux session in Tabby, and in both the session keeps running when you disconnect. tabby-tmux turns one Tabby tab into the whole session: you switch tmux windows from a bar at the bottom of that tab, and tmux panes are shown as splits. tomux opens each tmux window as its own Tabby tab, so Tabby’s tab bar, hotkeys and tab menu work on them, next to your local tabs.

Short answer: if you think in tmux, with panes and a window list, tabby-tmux brings that into one Tabby tab. If you want a server’s terminals to be ordinary Tabby tabs that you don’t have to think of as tmux at all, use tomux.

At a glance

tabby-tmuxtomux
A tmux session is shown asOne Tabby tabOne Tabby tab per tmux window
Switching tmux windowsIts own window bar at the bottom of the tab, and its own hotkeysTabby’s tab bar and tab hotkeys
tmux panesShown as splits, following tmux’s layoutThe tab shows the active pane
Starting itRight-click any terminal tab → Enter Tmux ModePick a tomux profile: an SSH profile and a session name
Where tmux runsWhere the tab’s terminal runs: your computer, or the host of an SSH tabOn the host of a Tabby SSH profile
After Tabby restartsThe session survives; its README says to reconnect with tmux -CC attachThe tabs come back on their windows, with their history
tmux version3.1 or newer2.1 or newer (3.x recommended)
LicenceMITGPL-3.0

tabby-tmux facts from its README and its design note on why it shows a session in one tab.

Choose tabby-tmux if

  • You use tmux panes and want to see them side by side.
  • You like tmux’s own model: one view per session, with a list of its windows.
  • You want to turn an existing tab into tmux mode, including a local one.

Choose tomux if

  • You want a server’s terminals to behave like any other Tabby tab: renamed, reordered, closed and restored the same way.
  • You want to open the server from Tabby’s profile list, and get another tab on it with +.
  • You want the tabs back by themselves after Tabby restarts.
  • You don’t know tmux, and don’t want to.

Why two plugins?

They make opposite choices on purpose. tabby-tmux’s author tried giving each tmux window its own Tabby tab and chose a single tab per session instead, so that tmux stays the one place where the layout is decided. tomux makes each tmux window a Tabby tab, because its goal is that a remote terminal feels like a local one. tomux’s build setup was modelled on tabby-tmux’s; see the NOTICE file.

Questions

What is the difference between tabby-tmux and tomux?

Where the tmux windows go. tabby-tmux shows a whole tmux session in one Tabby tab, with its own window bar at the bottom of that tab and tmux panes as splits. tomux opens each tmux window as its own Tabby tab, next to your other tabs, and shows one pane per tab.

Can tomux use tmux on my own computer?

tomux connects through a Tabby SSH profile, so tmux runs on the host that profile reaches. tabby-tmux enters tmux mode from any terminal tab, so it can also use tmux on your own computer.

Which tmux version do they need?

tabby-tmux needs tmux 3.1 or newer. tomux needs tmux 2.1 or newer, and recommends 3.x.

Install tomux