-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How to disable default keybindings? #287
Comments
from @dengkunli
|
Any news on that? I would like to disable ctrl+F keybinding and give it back to browser ;) |
Not sure about how to give the functionality back to the browser, but I found that you can disable the ctrl+F binding by adding your own
|
A workaround to unbind default keybindings using a private API: editor._standaloneKeybindingService.addDynamicKeybinding("-editor.action.outdentLines"); Replace |
@vlad-shatskyi : Thanks 👍 |
It doesn't seem to work with
After this magic some keybindings are gone (Cmd+F doesn't work, for example), but Cmd+L still expands selection to a next line. |
@roblourens , did you ever found a solution for Cmd+L? |
to unbind Cmd+L try this:
i determined which command to unbind by seeing that this method returned fwiw, the default keybindings can (currently) be listed like this:
|
Let's track in #102 |
No description provided.
The text was updated successfully, but these errors were encountered: