top | item 44754950

(no title)

plett | 7 months ago

I view "you might not need tmux" in the same way as "you might not need browser tabs".

Yes, if you only have one or two terminal sessions or open web pages then you can probably live without using them, but anything beyond that leads you into reimplementing features to cope with your desktop's lack of ability to manage dozens of windows.

discuss

order

3036e4|7 months ago

That is something I have strived for recently, to use all the great window management features of my window manager of choice instead of browser tabs or lots of terminal tabs running tmux. If that didn't work well I guess it would have been a good sign that I need a better window manager. Even went back to use bookmarks instead of leaving hundreds of tabs open and having a bookmark bar instead of a tab bar is not bad at all.

kccqzy|7 months ago

I have come to believe that tab management is really the job of the window manager not individual apps. My window manager allows me to tile windows, or create tabs out of overlapping windows. The tabs can be from the same app or even different ones.

WhyNotHugo|7 months ago

> I view "you might not need tmux" in the same way as "you might not need browser tabs".

A big difference is that I can move two browser tabs into separate windows, or from separate windows into the same.

The same is actually tree of top-level windows if your window manager can group windows into tabs.

tmux tabs lack this flexibility.

sarlalian|7 months ago

Tmux absolutely can move panes between windows, including into their own new window. And can move windows between sessions.

em-bee|7 months ago

tmux can move windows from one session to another or to a new session. pretty much the way browsers move tabs around and create new windows. it can even have the same window in multiple sessions. i'd like to see a browser have the same (identical) tab in multiple windows.

tezza|7 months ago

MS Windows has excellent multi window management with Alt Tab Win Tab etc. Far superior to others.

I have all my terminals with distinct icons and background colours to tell them apart. The operating system (Windows) does the heavy lifting.

i tried Mac for about five years but missed MS Windows “every window can be alt tabbed to”. Mac has “every app can be command tabbed to and therein each app has its own subwindow management”

mkl|7 months ago

> MS Windows has excellent multi window management with Alt Tab Win Tab etc. Far superior to others.

If by "others" you mean Mac, okay, but KDE and some other Linux desktops are at least as good as Windows at this out of the box, and much more customisable.

squigz|7 months ago

Windows has basic window and desktop management, but I would hardly describe it as excellent. Most tiling window managers would provide those features and then more.

joleyj|7 months ago

> “every app can be command tabbed to and therein each app has its own subwindow management”

This is so, so annoying. Your Mac app’s window is minimized? No alt-tab for you!

sceptic123|7 months ago

Whatever fits your mental model I suppose, but every window is accessible via keyboard shortcuts on the Mac too, it just needs a different approach.

anthk|7 months ago

Alt-tab? You mean pressing win+w under CWM to fuzzy-find windows per title name, and then spawn it?

sigwinch|7 months ago

My tmux config has clickable tabs in one terminal.

em-bee|7 months ago

that sounds interesting. there are a few terminals with tmux integration. which terminal are you using? could you share your config please?

bravesoul2|7 months ago

But many terminals have tabs so if all you desire is more than one terminal open but not multiple ui windows there are other options. VSCode for instance!

jefurii|7 months ago

byobu+tmux lets me log into a remote machine once and then have multiple named sessions/workspaces each having multiple named tabs. The sessions persist when I disconnect and are there when I reconnect the next day. Is that possible with terminal tabs?