How to replicate SublimeText ctrl+D in Visual Studio

Visual studio 2017-19

The default shortcut is Alt+Shift+.


But if you want to add Ctrl+D

  • Go to the menu Tools > Options then select the Keyboard tab on the left

    At the top you'll find an option to add extra keybindings, select Visual Studio Code. Save and That's it! Setting

    This works because Visual Studio Code has Ctrl+D, and other shortcuts similar to SublimeText

Alternatively you can manually add shortcuts

In the image, you can find any command to customize in the middle section.

The particular command you are interested is the one selected Edit.InsertNextMatchingCaret