Can not unmap keybinding #2182
-
Setup
EditIt seems this issue is reported at #2087. And the problem is how the sample config is wrong. // an example to create a new mapping `ctrl-y`
api.mapkey('<Ctrl-y>', 'Show me the money', function() {
api.Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).');
});To unmap The first I would do is to rewrite this sample config to not misleading user for his first experience. For history 👇 IssueHi, I just installed this extensions. I opened settings in advanced mode. The sample is as fallow: // an example to create a new mapping `ctrl-y`
api.mapkey('<ctrl-y>', 'Show me the money', function() {
Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).');
});
// an example to replace `T` with `gt`, click `Default mappings` to see how `T` works.
api.map('gt', 'T');
// an example to remove mapkey `Ctrl-i`
api.unmap('<ctrl-i>');followed by theme. I added api.unmap('<alt-s>');because it overrides an existing shortkey I use. Settings that were applied
Settings NOT applied
What I triedI saved multiple times. Restarted browsers. Disable/Enable advanced. Tested in fresh profiles. Same result in 1.16.1 and 1.17.3 Did I miss something ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
It seems this issue is reported at #2087. And the problem is how the sample config is wrong. // an example to create a new mapping `ctrl-y`
api.mapkey('<Ctrl-y>', 'Show me the money', function() {
api.Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).');
});To unmap The first I would do is to rewrite this sample config to not misleading user for his first experience. |
Beta Was this translation helpful? Give feedback.
It seems this issue is reported at #2087. And the problem is how the sample config is wrong.
The fix is adding missing
apibeforeFrontand use<Ctrl-y>instead of<ctrl-y>.To unmap
<alt-s>, I guess it needs to be remapped first and use<Alt-s>.The first I would do is to rewrite this sample config to not misleading user for his first experience.