Rid of Those Bindings is a VSCode extension designed to help you disable default editor and installed extensions keybindings.
How to Use
Installation
Open the Extensions view in VSCode (Ctrl+Shift+X or Cmd+Shift+X).
Search for "Rid of Those Bindings".
Click Install.
Commands
Once the extension is installed, you can access the following commands via the Command Palette (Ctrl+Shift+P or Cmd+Shift+P):
Disable Default Keybindings: Disables default editor and extension keybindings.
Restore Keybindings: Restores all keybindings disabled by this extension.
Configuration
You can configure the Rid of Those Bindings extension through VSCode's settings (Ctrl+, or Cmd+,). Search for rid-of-those-bindings to find the following configuration options:
rid-of-those-bindings.extensionFilter:
Type: string or array
Default: [] (empty array)
Description: A regular expression (or list of regexes) to filter keybindings by extension name that should not be disabled. For example, if you don't want to disable keybindings from the ms-vscode.cpptools extension, you can set it to ["ms-vscode\\.cpptools"].
rid-of-those-bindings.keyFilter:
Type: string or array
Default: [] (empty array)
Description: A regular expression (or list of regexes) to filter keybindings by key sequence that should not be disabled. For example, if you don't want to disable any keybindings containing ctrl+c, you can set it to ["ctrl\\+c"].
rid-of-those-bindings.commandFilter:
Type: string or array
Default: [] (empty array)
Description: A regular expression (or list of regexes) to filter keybindings by command name that should not be disabled. For example, if you don't want to disable keybindings for the editor.action.clipboardCopyAction command, you can set it to ["editor\\.action\\.clipboardCopyAction"].
[!Note]
Rid of Those Bindings accesses editor keybindings from the VSCode GitHub repository, which means network connectivity is required at first use. Once the Disable Default Keybindings command is executed, the extension will store a local copy of the keybindings and use that instead when network connectivity is lost.
Contributing
Contributions are welcome! If you have any suggestions or find bugs, please open an issue or submit a pull request on the GitHub repository.