Skip to content

Commit e07e797

Browse files
committed
patch 7.4.2232
Problem: The default ttimeoutlen is very long. Solution: Use "100". (Hirohito Higashi)
1 parent e11d61a commit e07e797

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

runtime/defaults.vim

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" The default vimrc file.
22
"
33
" Maintainer: Bram Moolenaar <[email protected]>
4-
" Last change: 2016 Jul 29
4+
" Last change: 2016 Aug 20
55
"
66
" This is loaded if no vimrc file was found.
77
" Except when Vim is run with "-u NONE" or "-C".
@@ -25,6 +25,9 @@ set ruler " show the cursor position all the time
2525
set showcmd " display incomplete commands
2626
set wildmenu " display completion matches in a status line
2727

28+
set ttimeout " time out for key codes
29+
set ttimeoutlen=100 " wait up to 100ms after Esc for special key
30+
2831
" Show @@@ in the last line if it is truncated.
2932
set display=truncate
3033

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,8 @@ static char *(features[]) =
763763

764764
static int included_patches[] =
765765
{ /* Add new patch number below this line */
766+
/**/
767+
2232,
766768
/**/
767769
2231,
768770
/**/

0 commit comments

Comments
 (0)