.tmux.conf: Update comment about TERM variable
I switched from Solarized to Selenized colorscheme and noticed some things have changed in tmux and terminals since I last looked. For starters, it seems that, if your terminal emulator is configured to use the sixteen color ANSI palette with Selenized values, then you should configure vim and other apps to use sixteen colors instead of approximating "more" with 256. I will update my vim config to use sixteen colors also. Eventually, once all the systems I use have newer terminfo, I will be able to set the TERM variable inside tmux to be "tmux" instead of pretending to be screen. For now, at least CentOS 7 doesn't like the "tmux" TERM value so I will leave this See: https://github.com/jan-warchol/selenized/issues/65
This commit is contained in:
parent
a3f327ae18
commit
46f1cad6a1
@ -102,9 +102,10 @@ set-option -g status-right '#[fg=colour47]#H #[fg=red]#(cut -d " " -f 1-3 /proc/
|
|||||||
# scrollback buffer
|
# scrollback buffer
|
||||||
set-option -g history-limit 4096
|
set-option -g history-limit 4096
|
||||||
|
|
||||||
# hijack the TERM variable for shells inside tmux
|
# 2020-07-10: According to the tmux FAQ, inside tmux TERM must be "screen",
|
||||||
# According to the tmux FAQ this MUST be "screen" or a derivative
|
# "tmux" or similar (such as "tmux-256color"). Systems with older terminfo
|
||||||
# http://tmux.svn.sourceforge.net/viewvc/tmux/trunk/FAQ
|
# like CentOS 7 don't support tmux-256color so let's keep screen-256color
|
||||||
|
# for now.
|
||||||
set-option -g default-terminal "screen-256color"
|
set-option -g default-terminal "screen-256color"
|
||||||
|
|
||||||
#### COLOUR (Solarized dark)
|
#### COLOUR (Solarized dark)
|
||||||
|
Loading…
Reference in New Issue
Block a user