From 01e29fcf7b136bca3ffa00c2896c6c434d1a2882 Mon Sep 17 00:00:00 2001 From: David Sadler Date: Tue, 20 Oct 2026 10:14:53 +0100 Subject: Tweek Tmux escape time to help neovim --- tmux/.config/tmux/tmux.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tmux') 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" -- cgit v1.2.3-13-gbd6f