No more need for lots of termcap overrides

This commit is contained in:
Daniel Lundin 2022-02-11 09:36:03 +01:00
parent e795a5ff01
commit 7915ef4aee

View file

@ -5,6 +5,7 @@ set -g display-panes-time 3000
set -s escape-time 10
set -g status on
set -g status-interval 30
set -g focus-events on
setw -g alternate-screen on
setw -g aggressive-resize on
setw -g automatic-rename off
@ -19,14 +20,8 @@ set -g update-environment "XAUTHORITY DISPLAY WINDOWID SSH_ASKPASS SSH_AGENT_PID
set -g default-command zsh
set -g history-limit 10000
set-option -g default-terminal "tmux"
set -ga terminal-overrides ",*:Tc" # true colous support
set -as terminal-overrides ',*:sitm=\E[3m' # Italics support for older ncurses
# set -as terminal-overrides ',*:smxx=\E[9m' # Strikeout
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
# set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
set-option -g default-terminal "tmux-256color"
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # Underline color
# Key bindings
bind -n M-Left select-pane -L