aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc.dot.link3
1 files changed, 3 insertions, 0 deletions
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