From: Oleg Broytman Date: Tue, 17 Oct 2017 23:50:20 +0000 (+0300) Subject: .tmux.conf: Don't wait for [Esc] X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=4eb7afb95caee040616c088d37e98135af8ceacf;p=dotfiles.git .tmux.conf: Don't wait for [Esc] Allow fast switching from insert mode to normal in vim. Set (and export) environment variable SLOWTERM to override. --- diff --git a/.tmux.conf b/.tmux.conf index c88fd3b..ef16260 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -8,6 +8,9 @@ set-option -g renumber-windows on set-window-option -g mode-keys vi # Pass [Ctrl]+[PgUp/PgDn] set-window-option -g xterm-keys on +# Don't wait for [Esc] to allow fast switching from insert mode to normal in vim +# Set (and export) environment variable SLOWTERM to override. +if-shell "test -z $SLOWTERM" "set-option -gs escape-time 0" # Mouse set-window-option -g mode-mouse on