anindiangeek
anindiangeek

Reputation: 102

When I use Shift + Alt + UpArrow or DownArrow in VScode it goes into Multi-Cursor mode

I have vim extension installed in vs code here are it's settings

// Vim Extension
    "vim.commandLineModeKeyBindingsNonRecursive": [],
    "vim.normalModeKeyBindingsNonRecursive": [],
    "vim.useCtrlKeys": false,

     // this is optional if you want to remap your vim default esc to jj 
    "vim.insertModeKeyBindings": [
      {
        "before": ["j", "j"],
          "after": ["<esc>"]
      }

My Key bindings for copying line or down don't work from the shortcuts i.e.

  1. Shift + Alt + UpArrow
  2. Shift + Alt + DownArrow

Here is the image of Key bindings

Edit 1: Works if I disable Vim extension.

Upvotes: 2

Views: 2405

Answers (1)

anindiangeek
anindiangeek

Reputation: 102

I figured it out.

  1. Go to Keyboards Shortcuts (Ctrl K + Ctrl S)
  2. Search for these key bindings "Shift + alt + UpArrow".
  3. Delete the key bindings used by vim by right clicking and selecting remove option.
  4. Make sure to remove the vim extension Key bindings not the one used by the editor.

Upvotes: 4

Related Questions