How can you tell which pane in Tmux is focused?

前端 未结 5 1395
予麋鹿
予麋鹿 2020-12-22 21:02

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 t

5条回答
  •  一向
    一向 (楼主)
    2020-12-22 21:43

    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.

提交回复
热议问题