Skip to content

Instantly share code, notes, and snippets.

@SimplGy
Created November 11, 2018 05:02
Show Gist options
  • Select an option

  • Save SimplGy/67d40f4b46325b2cfa9720c43b354b19 to your computer and use it in GitHub Desktop.

Select an option

Save SimplGy/67d40f4b46325b2cfa9720c43b354b19 to your computer and use it in GitHub Desktop.

Revisions

  1. SimplGy created this gist Nov 11, 2018.
    73 changes: 73 additions & 0 deletions keybindings.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,73 @@
    // Place your key bindings in this file to overwrite the defaults
    [
    {
    "key": "cmd+d",
    "command": "editor.action.copyLinesDownAction",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "shift+alt+down",
    "command": "-editor.action.copyLinesDownAction",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "cmd+down",
    "command": "editor.action.moveLinesDownAction",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "alt+down",
    "command": "-editor.action.moveLinesDownAction",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "cmd+up",
    "command": "editor.action.moveLinesUpAction",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "alt+up",
    "command": "-editor.action.moveLinesUpAction",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "cmd+0",
    "command": "workbench.action.openLastEditorInGroup"
    },
    {
    "key": "cmd+1",
    "command": "workbench.action.openEditorAtIndex1"
    },
    {
    "key": "cmd+2",
    "command": "workbench.action.openEditorAtIndex2"
    },
    {
    "key": "cmd+3",
    "command": "workbench.action.openEditorAtIndex3"
    },
    {
    "key": "cmd+4",
    "command": "workbench.action.openEditorAtIndex4"
    },
    {
    "key": "cmd+5",
    "command": "workbench.action.openEditorAtIndex5"
    },
    {
    "key": "cmd+6",
    "command": "workbench.action.openEditorAtIndex6"
    },
    {
    "key": "cmd+7",
    "command": "workbench.action.openEditorAtIndex7"
    },
    {
    "key": "cmd+8",
    "command": "workbench.action.openEditorAtIndex8"
    },
    {
    "key": "cmd+9",
    "command": "workbench.action.openEditorAtIndex9"
    }
    ]