From 0d15b8962fc80b7d13a75ee3ce190d409cdf5957 Mon Sep 17 00:00:00 2001 From: DustVoice Date: Thu, 3 Sep 2020 19:29:24 +0200 Subject: [PATCH] Fix truecolor issue with tmux --- .config/nvim | 2 +- .tmux.conf | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.config/nvim b/.config/nvim index 9d805e8..129ba00 160000 --- a/.config/nvim +++ b/.config/nvim @@ -1 +1 @@ -Subproject commit 9d805e8b11532617dc713393caf3cc4f6f4b1763 +Subproject commit 129ba00bad001af19c3bcf326df9f17716d47fa3 diff --git a/.tmux.conf b/.tmux.conf index b7e2200..c7528a2 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,11 +1,18 @@ +set-option -ga terminal-overrides ",st-256color:Tc" + setw -g mode-keys vi set -g mouse on +set-option escape-time 0 + set-option -g allow-rename off bind r source-file ~/.tmux.conf -set-option escape-time 0 +bind h select-pane -L +bind j select-pane -D +bind k select-pane -U +bind l select-pane -R bind-key -T copy-mode-vi 'v' send -X begin-selection bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel