From 6ff1f1cc9cb1ca59618af8a51aaa6a1e4148ab3d Mon Sep 17 00:00:00 2001 From: Dmitry Chumak Date: Mon, 15 Aug 2022 17:48:32 +0300 Subject: [PATCH] Added parameters to eliminate vim escape key delay --- tmux.conf | 1 + vim/vimrc | 1 + 2 files changed, 2 insertions(+) diff --git a/tmux.conf b/tmux.conf index e1ee5f3..78682e9 100755 --- a/tmux.conf +++ b/tmux.conf @@ -1,6 +1,7 @@ set -g mouse on set -g set-clipboard external +set -g escape-time 10 # https://www.johnhawthorn.com/2012/09/vi-escape-delays/ set-option -g status-position top set-window-option -g allow-rename off set allow-rename off diff --git a/vim/vimrc b/vim/vimrc index 815512d..3fc41f1 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -3,6 +3,7 @@ filetype plugin indent on "Включает определение типа фа set encoding=utf-8 "Ставит кодировку UTF-8 syntax enable set term=xterm-256color +"set timeoutlen=10 ttimeoutlen=0 " https://www.johnhawthorn.com/2012/09/vi-escape-delays/ colorscheme atom-dark-256 set number relativenumber set backspace=indent,eol,start