How do I change the color of the pane dividing lines in tmux?

quant

I've used the following command to change the color of the status bar at the bottom of the screen:

set -g status-bg colour244

But I don't know how to change the color of the lines that divide the panes; currently, they're a mix of the original green and gray (color244). man tmux gives me a lot of info about the status line but this seems to refer to the status bar itself, not the dividing lines.

I suspect I'm just missing some terminology here.

jasonwryan

You want pane-active-border-style and pane-border-style:

See the entry in the man page:

pane-active-border-style style
Set the pane border style for the currently active pane. For how to specify style, see the message-command-style option. Attributes are ignored.

pane-border-style style
Set the pane border style for pane as aside from the active pane. For how to specify style, see the message-command-style option. Attributes are ignored.

So, in your ~/.tmux.conf you could specify colours like so:

# border colours
set -g pane-border-style fg=magenta
set -g pane-active-border-style "bg=default fg=magenta"

Note, I use tmux 1.9a, and I find I get more consistent behaviour using:

set -g pane-border-fg magenta
set -g pane-active-border-fg green
set -g pane-active-border-bg default

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to change background color of a pane in tmux?

From Dev

Change background color of active or inactive pane in Tmux

From Dev

How do I re-map the changing pane keys in tmux?

From Dev

How do I change the color of the background lines, the structural ones

From Dev

How to change the color of pane in javafx?

From Dev

Change background color of tmux pane depending on remote hostname

From Dev

How do you hide a tmux pane?

From Dev

Change the color of tmux pane indicators shown when using "display-pane"

From Dev

TMUX: After split-window, how do I know the new pane id?

From Dev

How to change selection color in SplitView pane UWP?

From Dev

How do you get the size of a non-interactive tmux pane?

From Dev

How do I change the default shell used in Byobu (tmux)?

From Dev

How do I change the default shell used in Byobu (tmux)?

From Dev

How can i change the color of two lines in mouse down event?

From Dev

How can i change the color of my lines in drawing GUI

From Dev

How do I change the color of the MFMessageComposeViewController elements?

From Dev

How do I change the color of a link in Elm?

From Dev

How do I change the color of the captcha text?

From Dev

How do I change the color and width of divs?

From Dev

How do i change the color of a line in itext?

From Dev

How do I change the color of each tab?

From Dev

How do I change the "Selected Items" color?

From Dev

how do I change color of hamburger icon?

From Dev

How do I change the "Selected Items" color?

From Dev

How do I change the default hyperlink color?

From Dev

How do I change the color and width of divs?

From Dev

How do I change the color of the arrows?

From Dev

How do I change the text color in Swift?

From Dev

How do I change color in <kbd>?

Related Related

  1. 1

    How to change background color of a pane in tmux?

  2. 2

    Change background color of active or inactive pane in Tmux

  3. 3

    How do I re-map the changing pane keys in tmux?

  4. 4

    How do I change the color of the background lines, the structural ones

  5. 5

    How to change the color of pane in javafx?

  6. 6

    Change background color of tmux pane depending on remote hostname

  7. 7

    How do you hide a tmux pane?

  8. 8

    Change the color of tmux pane indicators shown when using "display-pane"

  9. 9

    TMUX: After split-window, how do I know the new pane id?

  10. 10

    How to change selection color in SplitView pane UWP?

  11. 11

    How do you get the size of a non-interactive tmux pane?

  12. 12

    How do I change the default shell used in Byobu (tmux)?

  13. 13

    How do I change the default shell used in Byobu (tmux)?

  14. 14

    How can i change the color of two lines in mouse down event?

  15. 15

    How can i change the color of my lines in drawing GUI

  16. 16

    How do I change the color of the MFMessageComposeViewController elements?

  17. 17

    How do I change the color of a link in Elm?

  18. 18

    How do I change the color of the captcha text?

  19. 19

    How do I change the color and width of divs?

  20. 20

    How do i change the color of a line in itext?

  21. 21

    How do I change the color of each tab?

  22. 22

    How do I change the "Selected Items" color?

  23. 23

    how do I change color of hamburger icon?

  24. 24

    How do I change the "Selected Items" color?

  25. 25

    How do I change the default hyperlink color?

  26. 26

    How do I change the color and width of divs?

  27. 27

    How do I change the color of the arrows?

  28. 28

    How do I change the text color in Swift?

  29. 29

    How do I change color in <kbd>?

HotTag

Archive