summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'tmux')
-rw-r--r--tmux/.config/tmux/tmux.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf
index 59b1d33..d5ce3de 100644
--- a/tmux/.config/tmux/tmux.conf
+++ b/tmux/.config/tmux/tmux.conf
@@ -65,6 +65,16 @@ bind s choose-tree -s -O name
# Enable focus events, which are needed by Neovim for 'autoread'.
set -g focus-events on
+# Tmux waits for a short period after the Esc key is pressed to see if its the start of a key combination.
+# Neovim relies on the Esc key to switch between modes.
+# So don't keep Neovim waiting with a high value.
+# This was reported in Neovim with checkhealth
+# tmux ~
+#- ❌ ERROR `escape-time` (500) is higher than 300ms
+# - ADVICE:
+# - set escape-time in ~/.tmux.conf:
+# set-option -sg escape-time 10
+set-option -sg escape-time 10
# Theme colors based on Nord.
black_bright="#4c566a"