mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +00:00
options: Remove 'esckeys' (#6138)
This was never supported and it does not make sense for Nvim.
This commit is contained in:
@@ -1911,17 +1911,13 @@ static int vgetorpeek(int advance)
|
||||
|
||||
if ((mp == NULL || max_mlen >= mp_match_len)
|
||||
&& keylen != KEYLEN_PART_MAP) {
|
||||
/*
|
||||
* When no matching mapping found or found a
|
||||
* non-matching mapping that matches at least what the
|
||||
* matching mapping matched:
|
||||
* Check if we have a terminal code, when:
|
||||
* mapping is allowed,
|
||||
* keys have not been mapped,
|
||||
* and not an ESC sequence, not in insert mode or
|
||||
* p_ek is on,
|
||||
* and when not timed out,
|
||||
*/
|
||||
// When no matching mapping found or found a non-matching mapping
|
||||
// that matches at least what the matching mapping matched:
|
||||
// Check if we have a terminal code, when:
|
||||
// mapping is allowed,
|
||||
// keys have not been mapped,
|
||||
// and not an ESC sequence, not in insert mode,
|
||||
// and when not timed out.
|
||||
if ((no_mapping == 0 || allow_keys != 0)
|
||||
&& (typebuf.tb_maplen == 0
|
||||
|| (p_remap && typebuf.tb_noremap[
|
||||
|
@@ -411,7 +411,6 @@ EXTERN char_u *p_efm; // 'errorformat'
|
||||
EXTERN char_u *p_gefm; // 'grepformat'
|
||||
EXTERN char_u *p_gp; // 'grepprg'
|
||||
EXTERN char_u *p_ei; // 'eventignore'
|
||||
EXTERN int p_ek; // 'esckeys'
|
||||
EXTERN int p_exrc; // 'exrc'
|
||||
EXTERN char_u *p_fencs; // 'fileencodings'
|
||||
EXTERN char_u *p_ffs; // 'fileformats'
|
||||
|
@@ -710,13 +710,6 @@ return {
|
||||
varname='p_efm',
|
||||
defaults={if_true={vi=macros('DFLT_EFM')}}
|
||||
},
|
||||
{
|
||||
full_name='esckeys', abbreviation='ek',
|
||||
type='bool', scope={'global'},
|
||||
vim=true,
|
||||
varname='p_ek',
|
||||
defaults={if_true={vi=false, vim=true}}
|
||||
},
|
||||
{
|
||||
full_name='eventignore', abbreviation='ei',
|
||||
type='string', list='onecomma', scope={'global'},
|
||||
|
Reference in New Issue
Block a user