From c3382dbdc90d3a3a9916f35e77e20d7e719332eb Mon Sep 17 00:00:00 2001 From: josean-dev Date: Tue, 20 Dec 2022 10:03:07 -0400 Subject: [PATCH] Fixed exit insert mode delay when pressing the ESC key in Neovim within Tmux --- .tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index 394fc02..ba975d3 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -29,6 +29,9 @@ bind-key -T copy-mode-vi 'y' send -X copy-selection # copy text with "y" unbind -T copy-mode-vi MouseDragEnd1Pane # don't exit copy mode when dragging with mouse +# remove delay for exiting insert mode with ESC in Neovim +set -sg escape-time 10 + # tpm plugin set -g @plugin 'tmux-plugins/tpm'