]> gitweb.fluxo.info Git - rhatto/dotfiles/vim.git/commitdiff
Adds escape delay config
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 23 Oct 2017 23:20:20 +0000 (21:20 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 23 Oct 2017 23:20:20 +0000 (21:20 -0200)
vimrc.dot.link

index 1b829cb835216f892d3efdad0622c5a68b03593d..c2072425ecbe937f982e706b2240b5c4ca1df51f 100644 (file)
@@ -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