Skip to content

Can not unmap keybinding #2182

Answered by Fred-Vatin
Fred-Vatin asked this question in Q&A
Discussion options

You must be logged in to vote

It seems this issue is reported at #2087. And the problem is how the sample config is wrong.
The fix is adding missing api before Front and use <Ctrl-y> instead of <ctrl-y>.

// 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 <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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Fred-Vatin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant