A new multiplexed world
by Emile `iMil' Heitor - 2013-01-27
And voila, I knew this was going to happen, I finally switched to tmux. I will not explain here why this software is better than GNU screen, simply put, tmux
is now part of the base system of nearly all BSD derivative operating systems (NetBSD among them), and it makes my life easier.
Instead, I’ll point out here all the resources that helped me switching rather quickly:
- Generic hands-on https://wiki.archlinux.org/index.php/Tmux
- Commented example http://www.doknowevil.net/2010/10/18/sorry-screen-tmux-is-better-but-here-are-some-screen-lik-hotkeys/
- Playing with the statusbar http://jasonwryan.com/blog/2011/06/10/setting-tmux-statusbar-if-in-x/, this author has other very good resources on the topic
- Fixing the 256colors mess (without using
tmux -2
) http://benjaminthomas.org/2012-03-28/256-colors-in-tmux.html - Another well documented configuration file http://www.sheevaboite.fr/articles/show-me-your-tmux-conf
- Screen-to-tmux helper (in french, but easy to comprehend) http://wiki.soolbox.net/wiki/SysadminTips/tmux
- Very well written customization guide http://blog.hawkhost.com/2010/07/02/tmux-%E2%80%93-the-terminal-multiplexer-part-2/ (author has also written a comprehensive guide on how to basically use tmux)
- Enable mouse pane focus and resize http://tangledhelix.com/blog/2012/07/16/tmux-and-mouse-mode/
Here’s my ~/.tmux.conf
, which is pretty much the standard screen-keys.conf
available with the package, with only some small customizations like the status bar and some fixes:
In order to pick up the right colors, I used a shell snippet I took from this github repository:
Mandatory screenshot: