How to you tell which pane in Tmux is focused

tmux

I'm starting to use tmux (I'm thinking of switching from screen), but I'm having a hard time telling which pane is focused when I split a window into multiple panes. Is there a config customization or something that can highlight the focused pane a little more explicitly?

Best Answer

Here are the relevant settings:

pane-active-border-bg colour

pane-active-border-fg colour
    Set the pane border colour for the currently active pane.

So, try adding something like this to your ~/.tmux.conf:

set-option -g pane-active-border-fg blue

That will set a blue border around the active pane. The pane-active-border-bg option can be used for a more visible solution, as well.

Related Topic