Remove a keyboard shortcut from VS Code

I was able to overwrite any keyboard shortcut from VS Code just by adding a new key in the keybindings.json file.

However I can't remove an existing shortcut. More specifically, I'd like to remove this one:

{ "key": "ctrl+alt+down",         
  "command": "editor.action.insertCursorBelow",
  "when": "editorTextFocus" }

Any ideas on how I can remove it?

This is covered in our documentation for keybindings. Just add a - before the command name.

For your example, try adding:

{ "key": "ctrl+alt+down", "command": "-editor.action.insertCursorBelow" }

to your keybindings.json

Visual Studio Code Key Bindings, VSCode Version: 1.25.0-ins OS Version: win7x64 There is a command "Zoom in" (workbench.action.zoomIn) in keyboard shortcuts actually,� I was able to overwrite any keyboard shortcut from VS Code just by adding a new key in the keybindings.json file.. However I can't remove an existing shortcut. More specifically, I'd like to remove this one:

Overwriting it with an empty command seems to do the trick:

{ "key": "ctrl+alt+down", "command": "",
                          "when": "editorTextFocus" }

How to reset Visual Studio Code key bindings?, If you use a different keyboard layout, please read below. You can view the currently active keyboard shortcuts in VS Code in the Command Palette (View deleteLines), Delete Line, editor.action. Visual Studio Code Tips and Tricks "Tips and Tricks" lets you jump right in and learn how to be productive with Visual Studio Code. You'll become familiar with its powerful editing, code intelligence, and source code control features and learn useful keyboard shortcuts.

  1. Goto Code > Preferences > Keyboard Shortcuts
  2. The above should open what screenshot shows (list of all keyboard bindings)
  3. Right click on the keyboard binding you like to delete
  4. Select Remove Keybinding

This should delete the Keybinding.

In fact, under the hood this also edits your keybindings.json. To see the effect, after opening Keyboard Shortcuts, click on the icon having the mouseover text Open Keyboard Shortcuts (JSON):

If you need more help, try:

Keyboard Shortcuts --> Remove keybinding + Reset Keybinding , Default Shortcut Key in VS Code is : Ctrl + Shift + K . Default keyboard shortcuts in Visual Studio. 06/26/2017; 13 minutes to read +9; In this article. You can access a variety of commands and windows in Visual Studio by choosing the appropriate keyboard shortcut.

If you're wondering how to open this file for editing in newer versions:

  1. File > Settings > Keyboard Shortcuts ⌘K ⌘S.
  2. Click the {} icon in the top right of the editor.

  1. Then follow the other answers.

Keybindings: How to remove a key binding from an action � Issue , My Top 6 keyboards shortcuts within Visual Studio Code! 1) Delete a line - CTRL + SHIFT + K Duration: 9:36 Posted: 3 Feb 2020 Ctrl+K Ctrl+S Keyboard Shortcuts Basic editing Ctrl+X Cut line (empty selection) Ctrl+C Copy line (empty selection) Alt+ ↑ / ↓ Move line up/down Shift+Alt + ↓ / ↑ Copy line up/down Ctrl+Shift+K Delete line Ctrl+Enter Insert line below Ctrl+Shift+Enter Insert line above Ctrl+Shift+\ Jump to matching bracket

Simpler way with the UI:

  1. Open the "Keyboard Shortcuts" tab (see @Nelu answer)
  2. Select the command you want to remove from shortcuts
  3. Press the del keyboard

And voilà! :-)

Keybindings, Here are 21 VS Code Shortcuts To Code Faster and Funner: be used when pressing Ctrl + Alt + Delete outside of your VS code editor. I have my keyboard shortcut bound to Ctrl + T (Mac: Control + T ) to use this feature. If a keyboard shortcut exists, VS Code will show you the shortcut too. Split Editor. When I code, I usually split the screen into two. You can bring up to three different editor views in VS Code. To split the editor, you can use the split editor command. The original keyboard shortcut for split editor is 123. I switched it to command + option + 2.

Delete a line in Visual Studio without copying it?, This article hopes to help people using VS Code to code even faster. On Mac: Ctrl+J; On Ubuntu, Windows: Open keyboard shortcuts from File to press and hold the backspace button to get to the part you want to delete. VS Code shortcuts. This article hopes to help people using VS Code to code even faster. The original keyboard shortcut for a split editor is 123. It's useful in case of side-by-side editing.

VSCode - Keyboard Shortcuts, In Visual Studio Code, you can open an integrated terminal, initially starting at the root of your workspace. This can be convenient as you don't have to switch windows or alter the state of an existing terminal to perform a quick command-line task. To open the terminal: Use the ⌃` (Windows, Linux Ctrl+`) keyboard shortcut with the backtick

21 VSCode Shortcuts To Code Faster and Funner – JSManifest, Visual Studio Code extensions are the best way to improve our productivity while writing code. By using extensions and vs code shortcuts we can reduce our coding time up to 50% and sometimes even

  • this was seemingly not working for me. had to restart vscode before my new mapping took effect
  • Removing doesn't seem supported at the moment if you're creating a keyboard shortcut extension. VSCode seems to add an extra '-' and assumes it's an odd command...
  • This doesn't make sense. Vscode is awesome but keybindings are one of its weakest features. If I want to unbind a default keyboard shortcut, like the hideous command-shift-c, I have to know what command it runs, even though it's not going to get run, and put a minus in front of it? Why does it take a command at all? Couldn't any command be put there? How do we make this better?
  • The empty command worked for me removing "shift+alt+u" while adding "-" had no detectable effect. Thank you Felix.
  • This also worked to remove chords, such as ctrl+r in the terminal conflicting with the npm extension!
  • I think your answer is more generic (more helpful for similar questions), and therefore preferable to the answer by Matt Bierner.
  • Pressing delete doesn't work for me, I had to right click and press "Remove Keybinding". Running VSCode 1.41.1
  • Pressing Delete does nothing for me either. And neither does right-clicking and selecting "Remove keybinding". It does seem to change it in the keybinding.json file though. (Visual Studio Code 1.43.0, April 2020)