I once saw a pretty tmux.
I saw a Tmux once that looked very similar to the agnoster theme (where it does something like =>). Does anyone have this config handy or know how to configure tmux to do it?(or configure tmux at all for that matter)
About this post
- Posted
- Archived
- Score
- 10 · 100% up
- Kind
- Text
- ID
- 2aesdo
16 comments
Deleted before we saved it.
You probably want to look at tmux-powerline and tmux-colors-solarized.
tmux-powerline has been deprecated; it is better to look at tmuxline.vim
Based on the github page, it looks like tmuxline.vim is a vim plugin that modifies tmux, is that right? That's not really the same as what tmux-powerline was trying to do at all.
For some reason my left arrows are a little wonky on my desktop box, but look perfectly normal on my laptop using exact same configuration. Really like the way it looks, though.
http://i.imgur.com/xkxpY1s.png
I actually just spent the last two days writing my own setup, because tmux-powerline is broken so badly.
What's tmux, then? Can I not achieve the same thing by opening xterm several times?
Yes, you probably could. However, like screen, tmux is about more than just getting multiple terminals side-by-side.
My use case is when I'm working on the train, I ssh into my dev box in the office in five or six separate sessions, running irssi, vim, etc. If my connection drops (e.g. when going into a tunnel, those SSH sessions drop, open programs get killed, and I end up full of disappointment.
By attaching to a tmux instance running on my dev box, if I lost my connection, tmux will keep those apps and whatever open so when I get out of the tunnel I just ssh back in, reattach, and keep working where I left off.
Cool. Thanks.
omgdave brings up one of the big uses, but there are local machine uses that are really nice too. For a while I was doing a ton of programming, and you can pretty easily write a script to open up tmux sessions in certain layouts etc. It ended up saving me a bunch of time.
Aye, a few of the people I work with live in their tmuxes, either in the office or working from home. In the office, I prefer to just have loads of independent terminal sessions open.
At some point I do plan to explore tmux more, because having things like searchable scrollback buffers, easier copy/paste between panes, etc, seem pretty funky and awesome. Essentially, the goal is even less dependence on a mouse than I already have.