Skip to content

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)

10 points15 comments
Open on Reddit
About this post
Posted
Archived
Score
10 · 100% up
Kind
Text
ID
2aesdo

Author

23
posts
112
comments
9
media
View profile

16 comments

unknown author

Deleted before we saved it.

6 points

You probably want to look at tmux-powerline and tmux-colors-solarized.

2 points

tmux-powerline has been deprecated; it is better to look at tmuxline.vim

5 points

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.

1 points

I actually just spent the last two days writing my own setup, because tmux-powerline is broken so badly.

1 points

What's tmux, then? Can I not achieve the same thing by opening xterm several times?

2 points

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.

10 points

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.

6 points

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.

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.