0

I'd like to change the background color of selections in Tmux. Which variable do I change for this?

1

There's more than one "selection": tmux has selections for its paste, etc, while the terminal has its select/paste which tmux knows nothing about:

0

In most terminals the selection color is generated by reverse video. This implies that you cannot set it. It is just swapped background and foreground color.

It is probably the responsibility of the terminal application, you use to set up the colors for the the contents. The exception is of course what tmux renders for its own elements (bars, borders, its own prompt, etc).

Look up background and foreground properties for your terminal and set them up in your ~/.Xdefaults file. On non-X terminals the termcap or certain environment variables files can be used for this.

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.