diff options
Diffstat (limited to 'src/nvim/getchar.c')
| -rw-r--r-- | src/nvim/getchar.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index 465c41457a..44e4e09486 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -1936,7 +1936,8 @@ static int vgetorpeek(int advance)            }            if ((mp == NULL || max_mlen >= mp_match_len) -              && keylen != KEYLEN_PART_MAP) { +              && keylen != KEYLEN_PART_MAP +              && !(keylen == KEYLEN_PART_KEY && c1 == ui_toggle[0])) {              // No matching mapping found or found a non-matching mapping that              // matches at least what the matching mapping matched              keylen = 0; | 
