Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm struggling to tell which pane is the current one in tmux if there are only two. The border only seems to highlight the adjoining edge which makes it impossible to tell. Here's a Gif to highlight what I mean.enter image description here

I'm in bash, and the config for that looks thus

set-option -g pane-border-fg white
set-option -g pane-active-border-fg green

Anyone got any tips to make it more obvious?

share|improve this question

migrated from stackoverflow.com Feb 7 '13 at 11:50

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer 1

up vote 5 down vote accepted

Good question; I wish I had a better answer. The display-panes command (C-b q by default) shows the active pane with a red number. Given only two panes, you still have to remember that red is active, blue is inactive.

If you set display-panes-color to something with low constrast with your background color, it will be less visible than the (by default) red active pane number.

share|improve this answer
    
I've pretty much always used display-panes precisely because of this problem. The other issue of course is having to set a low repeat-time so you don't move to Vim then try and move your cursor only to move back to another pane. Will probably continue with display-panes I've got enough contrast on the current pane number to be pretty useful. Thanks a lot for the input, I'll just have to bear it. –  Wil Feb 7 '13 at 16:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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