1

I use tmux as a terminal with tabs. I usually have several windows opened.

enter image description here

The problem is it's hard to distinguish which window I'm current on. How to configure tmux so that I can distinguish the current window a bit better, rather than a '*' next to the window name.

I'm thinking about invert the bg/fg color for the current window.

0

OK I have figured out, the following snippet does the job:

set -g status-style 'bg=#000000,fg=#ffffff'
set -g window-status-current-style 'bg=#ffffff,fg=#000000'
set -g status-left ''
set -g status-right ''
set -g window-status-format "#I:#W"
set -g window-status-current-format "#I:#W"

This does something like below: enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.