4 ms·
Semi-related question. I've never used tmux. I use i3 as my window manager. Is there any reason to use tmux and a tiling wm together, or are they redundant? The
by ibraheemdev 6y ago
Semi-related question. I've never used tmux. I use i3 as my window manager. Is there any reason to use tmux and a tiling wm together, or are they redundant? The only benefit I can see from adding tmux to my setup is persistent terminal sessions, and I don't really see myself using them much.
- infoseek12 6y agoI use i3 as well, I think it provides a lot of the advantages that tmux does but there are some features that tmux adds which can be useful. You mention persistence, which is sometimes handy (though you will need a plug-in like tmux-resurrect if you want sessions to persist after a reboot). The main advantage I’ve found with tmux (along with something like tmuxinator, tmuxp, and now Smug) is that you can set up complex layouts containing multiple windows and panes. Then you can launch that layout with a single command. For instance, I’ve setup a system monitoring layout that launches htop, glances, tcpdump, and so on with the setup, sizing, and configuration I want. This capability is often useful for project specific arrangements and any kind of complex setup that you might want to reuse at some point in the future.
- atmosx 6y agoThen you don't have to. tmux is cool, but if you don't _continue working from where you left_ you're fine re-opening 2-3 terminals, or use workspaces for that. I like tmux because I can launch a tmux session inside a project with shell/vim/loaded-secrets/etc and then just attach to that session and keep working without reloads. Another tool I use heavily is "direnv".