Skip to content
Discussion options

You must be logged in to vote

There is an option for that use case (I'll probably update the docs with an example)

keymaps.add('ns:save-keymap', '⌘+s, ctrl+s',  editor => {
    editor.runCommand('save-db');
}, {
 prevent: true
});

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@HonTung
Comment options

@srinivasskeme
Comment options

@srinivasskeme
Comment options

Answer selected by HonTung
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants