mirror of https://gitlab.com/baco/dotconf.git
Create and use a new termcap for Tmux >= 2.1
As result of default terminal settings changing as of version 2.1 of Tmux some terminals, specially over SSH connections, won't detect the TERM correctly, resulting in wrong colors displayed when using them inside Tmux (for instance when running Vim). The Tmux setting using a custom termcap and the shell settings described in comments help to overcome those issues.
This commit is contained in:
parent
5e9adde616
commit
d9b8606f53
|
@ -1,3 +1,7 @@
|
|||
# 256 color terminal ## Use ``export TERM=xterm-256color`` in ~/.shrc instead
|
||||
# Generated by: $ infocmp screen-256color | sed 's/screen-256color/xterm-screen-256color/g' | tic -
|
||||
set-option -g default-terminal xterm-screen-256color
|
||||
|
||||
# Load pretty colors
|
||||
source-file ~/.config/tmux/zenburn2.theme
|
||||
|
||||
|
|
Loading…
Reference in New Issue