aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-10-23 21:20:20 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-10-23 21:20:20 -0200
commit449b3535d1c4b253fe9ef630008f7b667eb55dfb (patch)
tree14f506e12620b8c2b8fa84b2c8d43debce108e96
parent6ebc231f438c9d379832561c437f3f4384b3e989 (diff)
downloadvim-449b3535d1c4b253fe9ef630008f7b667eb55dfb.tar.gz
vim-449b3535d1c4b253fe9ef630008f7b667eb55dfb.tar.bz2
Adds escape delay config
-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