aboutsummaryrefslogtreecommitdiffstats
path: root/_tmux.conf
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-09-03 20:34:37 +0800
committerAaron LI <aly@aaronly.me>2017-09-03 20:34:37 +0800
commitc0c0d94a154c99eeeb75dc0c474109af08e49251 (patch)
tree5d4a72e287d5b282509313add7476f46adcb1072 /_tmux.conf
parentfeb12c566ff25b45815dbcabb643accb261874c6 (diff)
downloaddotfiles-c0c0d94a154c99eeeb75dc0c474109af08e49251.tar.bz2
tmux.conf: Change TERM from tmux-256color to screen-256color
Diffstat (limited to '_tmux.conf')
-rw-r--r--_tmux.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/_tmux.conf b/_tmux.conf
index f77ea08..bf95c55 100644
--- a/_tmux.conf
+++ b/_tmux.conf
@@ -77,8 +77,10 @@ set -g mouse on
unbind -n MouseDrag1Pane
unbind -T copy-mode MouseDrag1Pane
-# Change the default $TERM to tmux-256color
-set -g default-terminal "tmux-256color"
+# Change the default $TERM to screen-256color
+# * xterm-256color for tmux may have problem with special keys in zsh
+# * tmux-256color may not be recognized, e.g., DragonFlyBSD
+set -g default-terminal "screen-256color"
# Enable RGB colour if running in xterm(1)
set -sa terminal-overrides ",xterm*:Tc"