summaryrefslogtreecommitdiffstats
path: root/runtime/defaults.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-20 19:22:16 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-20 19:22:16 +0200
commite07e797db0c5ef1aafc650d8bb0d39fb052cf1e1 (patch)
treed07f91f90c7d2ec8022949a8b3bd8669ef4e3014 /runtime/defaults.vim
parente11d61a3b1cdedf3144de697a2b38af62c3a78d8 (diff)
patch 7.4.2232v7.4.2232
Problem: The default ttimeoutlen is very long. Solution: Use "100". (Hirohito Higashi)
Diffstat (limited to 'runtime/defaults.vim')
-rw-r--r--runtime/defaults.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/defaults.vim b/runtime/defaults.vim
index 1968ce9be7..45a5393d32 100644
--- a/runtime/defaults.vim
+++ b/runtime/defaults.vim
@@ -1,7 +1,7 @@
" The default vimrc file.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last change: 2016 Jul 29
+" Last change: 2016 Aug 20
"
" This is loaded if no vimrc file was found.
" Except when Vim is run with "-u NONE" or "-C".
@@ -25,6 +25,9 @@ set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set wildmenu " display completion matches in a status line
+set ttimeout " time out for key codes
+set ttimeoutlen=100 " wait up to 100ms after Esc for special key
+
" Show @@@ in the last line if it is truncated.
set display=truncate