From f04108c88e3b4efadc5524f1b3d29a5aaf048085 Mon Sep 17 00:00:00 2001 From: Laily Date: Fri, 25 Jan 2019 14:40:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20tmux=20=E6=94=AF=E6=8C=81=E7=9C=9F?= =?UTF-8?q?=E5=BD=A9=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index 53261db..59a054c 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -11,6 +11,10 @@ bind - splitw -v -c '#{pane_current_path}' # unbind % bind | splitw -h -c '#{pane_current_path}' +# 开启 24bit 真彩色,tmux > 2.2 开始支持 +set -g default-terminal "screen-256color" +set-option -ga terminal-overrides ",*256col*:Tc" + set-option -g mouse on # 绑定hjkl键为面板切换的上下左右键