summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorDavid Sadler <david@flashacademy.com>2026-10-20 10:14:53 +0100
committerDavid Sadler <david@flashacademy.com>2026-10-20 10:14:53 +0100
commit01e29fcf7b136bca3ffa00c2896c6c434d1a2882 (patch)
treec08b367e46a28e511919874170ad752bd4ef2f18 /tmux
parentd6e49a11757d2ff285711f51b83c86de0d786d70 (diff)
Tweek Tmux escape time to help neovimHEADmain
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"