4

I love all of the major default key bindings of Visual Studio IDE for C++ development, such as block selection (ALT+SHIFT+ARROWS), selecting by jumping words (CTRL+SHIFT+ARROWS), and so on.

Is there a way to tell Visual Studio Code to use the IDE keybindings? Or is this something I have to set up myself, by hand (I hope not)?

3
  • 1
    Did you ever get the "traditional VS" key bindings for code? I would love a copy if so!
    – Beakie
    Commented Sep 17, 2016 at 12:59
  • 1
    Sadly, I have yet to find a pre-made keybindings file for this. I've slowly been changing key bindings as I go for my own personal use, but it's FAR from comprehensive. Commented Sep 17, 2016 at 17:45
  • 1
    How is this not something Microsoft want to make available? Um. Cheers anyway
    – Beakie
    Commented Sep 17, 2016 at 18:02

2 Answers 2

3

You can install the Visual Studio Keymap extension by going to File > Preferences > Migrate Keyboard Shortcuts from... in Visual Studio Code.

1
  • Thanks! As of the current version of Visual Studio Code, the extension is available via File > Preferences > Migrate Keyboard Shortcuts from...
    – track0
    Commented Dec 30, 2022 at 3:11
0

You can see a list of vscode's default keybindings here:

https://code.visualstudio.com/docs/customization/keybindings

If you don't like the default keybindings, you can override them by updating your keybindings.json file as noted on that page.

Not the answer you're looking for? Browse other questions tagged or ask your own question.