Mercurial > vim
comparison src/eval.c @ 18301:506bf60a30a0 v8.1.2145
patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabled
Commit: https://github.com/vim/vim/commit/459fd785e4a8d044147a3f83a5fca8748528aa84
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 13 16:43:39 2019 +0200
patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabled
Problem: Cannot map <C-H> when modifyOtherKeys is enabled.
Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use
only the first one when modifyOtherKeys has been detected.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Oct 2019 16:45:04 +0200 |
parents | c8a53c0daeed |
children | baf890fa1621 |
comparison
equal
deleted
inserted
replaced
18300:e502ed410b63 | 18301:506bf60a30a0 |
---|---|
3524 } | 3524 } |
3525 ++name; | 3525 ++name; |
3526 break; | 3526 break; |
3527 | 3527 |
3528 /* Special key, e.g.: "\<C-W>" */ | 3528 /* Special key, e.g.: "\<C-W>" */ |
3529 case '<': extra = trans_special(&p, name, TRUE, TRUE); | 3529 case '<': extra = trans_special(&p, name, TRUE, TRUE, |
3530 TRUE, NULL); | |
3530 if (extra != 0) | 3531 if (extra != 0) |
3531 { | 3532 { |
3532 name += extra; | 3533 name += extra; |
3533 break; | 3534 break; |
3534 } | 3535 } |