mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 14:28:18 +00:00
options: Default to 'ttimeout' and 'ttimeoutlen=50'
This gives libtermkey 50msec to reassemble split multibyte sequences like DCSes.
This commit is contained in:

committed by
James McCoy

parent
69f0847ccc
commit
e4dc878f89
@@ -6272,7 +6272,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
for any key that can follow <c-f> in a mapping.
|
for any key that can follow <c-f> in a mapping.
|
||||||
|
|
||||||
*'ttimeout'* *'nottimeout'*
|
*'ttimeout'* *'nottimeout'*
|
||||||
'ttimeout' boolean (default off)
|
'ttimeout' boolean (default on)
|
||||||
global
|
global
|
||||||
This option and 'ttimeoutlen' determine the behavior when part of a
|
This option and 'ttimeoutlen' determine the behavior when part of a
|
||||||
key code sequence has been received by the terminal UI. For example,
|
key code sequence has been received by the terminal UI. For example,
|
||||||
@@ -6287,7 +6287,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
complete.
|
complete.
|
||||||
|
|
||||||
*'ttimeoutlen'* *'ttm'*
|
*'ttimeoutlen'* *'ttm'*
|
||||||
'ttimeoutlen' 'ttm' number (default -1)
|
'ttimeoutlen' 'ttm' number (default 50)
|
||||||
global
|
global
|
||||||
The time in milliseconds that is waited for a key code
|
The time in milliseconds that is waited for a key code
|
||||||
sequence to complete. Also used for CTRL-\ CTRL-N and CTRL-\ CTRL-G
|
sequence to complete. Also used for CTRL-\ CTRL-N and CTRL-\ CTRL-G
|
||||||
|
@@ -2513,14 +2513,14 @@ return {
|
|||||||
vi_def=true,
|
vi_def=true,
|
||||||
vim=true,
|
vim=true,
|
||||||
varname='p_ttimeout',
|
varname='p_ttimeout',
|
||||||
defaults={if_true={vi=false}}
|
defaults={if_true={vi=true}}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
full_name='ttimeoutlen', abbreviation='ttm',
|
full_name='ttimeoutlen', abbreviation='ttm',
|
||||||
type='number', scope={'global'},
|
type='number', scope={'global'},
|
||||||
vi_def=true,
|
vi_def=true,
|
||||||
varname='p_ttm',
|
varname='p_ttm',
|
||||||
defaults={if_true={vi=-1}}
|
defaults={if_true={vi=50}}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
full_name='ttyfast', abbreviation='tf',
|
full_name='ttyfast', abbreviation='tf',
|
||||||
|
Reference in New Issue
Block a user