ToastedGuy2
ToastedGuy2

Reputation: 173

How to override ALT + CLICK Shortcut for Adding Multiple cursors in Visual Studio Code

My Os: Linux Mint 20.1 is overriding Alt + Click for Adding multi-cursors in vs code.

Unfortunately i cannot change Linux Mint 20.1 shortcut , so my only choice is to override vs code shortcut, i tried looking at shortcuts on vs code but unable to find it.
I have the latest version of vs code.
Please help me.

Upvotes: 3

Views: 2712

Answers (2)

Jack Dearing
Jack Dearing

Reputation: 63

Actually, you can override the Linux Mint Shortcut! If you navigate to System Settings > Windows > Behavior, you'll find the Special key to move and resize windows setting. You can change the key to your Super or Ctrl/Cmd key, or disable the setting entirely.

Upvotes: 6

Mark
Mark

Reputation: 180785

If you have a conflict with Alt, you do have the option to chose either CtrlCmd or Alt (the default) to get the multi-cursor functionality. See this setting:

Editor: Multi Cursor Modifier

You can also toggle between using CtrlCmd or Alt with this keybinding:

{
    "key": "shift+alt+q",
    "command": "workbench.action.toggleMultiCursorModifier"
},

Upvotes: 4

Related Questions