diff --git a/bash/bashrc.aliases b/bash/bashrc.aliases index b3a0af6..020aa62 100644 --- a/bash/bashrc.aliases +++ b/bash/bashrc.aliases @@ -7,8 +7,8 @@ alias gf='git fetch' # Tmux aliases # Use this to launch in 16-color mode -alias tmux='TERM=xterm-16color tmux -2 -u' +alias tmux='TERM=screen-256color-bce tmux -2 -u' # Attach to an existing tmux session -alias work='TERM=xterm-16color tmux -2 -u attach -d' +alias work='TERM=screen-256color-bce tmux -2 -u attach -d' # Trigger tmux to reopen the socket if it cannot attach alias kick='pkill -USR1 -u $USER tmux' diff --git a/tmux.conf b/tmux.conf index f9261c9..5fefe12 100644 --- a/tmux.conf +++ b/tmux.conf @@ -4,7 +4,7 @@ set-option -g prefix C-s bind-key C-q send-prefix # Use 16 color mode -set-option -g default-terminal "xterm-16color" +set-option -g default-terminal "screen-256color-bce" # Set the Esc/Alt disambiguation timeout to 50ms # The default is 500ms, which makes vim kind of painful