From: Silvio Rhatto Date: Mon, 23 Oct 2017 23:20:20 +0000 (-0200) Subject: Adds escape delay config X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=449b3535d1c4b253fe9ef630008f7b667eb55dfb;p=rhatto%2Fdotfiles%2Fvim.git Adds escape delay config --- diff --git a/vimrc.dot.link b/vimrc.dot.link index 1b829cb..c207242 100644 --- a/vimrc.dot.link +++ b/vimrc.dot.link @@ -101,6 +101,9 @@ let g:syntastic_mode_map={ 'mode': 'passive', \ 'active_filetypes': [], \ 'passive_filetypes': [] } +" See https://www.johnhawthorn.com/2012/09/vi-escape-delays/ +set timeoutlen=1000 ttimeoutlen=0 + " Write, quit and close shortcuts using Esc-key combos " ESC keys have the advantage over Alt shortcuts as they " are difficult to be mistaken for the Meta key