Skip to content

Instantly share code, notes, and snippets.

@r4vr4n
Last active October 13, 2021 09:16
Show Gist options
  • Select an option

  • Save r4vr4n/3d7d0ce56f126039e8d63fd25fac3d48 to your computer and use it in GitHub Desktop.

Select an option

Save r4vr4n/3d7d0ce56f126039e8d63fd25fac3d48 to your computer and use it in GitHub Desktop.

Revisions

  1. r4vr4n revised this gist Oct 13, 2021. 1 changed file with 81 additions and 73 deletions.
    154 changes: 81 additions & 73 deletions vs-code-keymap
    Original file line number Diff line number Diff line change
    @@ -1,75 +1,83 @@
    // Place your key bindings in this file to override the defaultsauto[]
    [
    {
    "key": "numpad_divide",
    "command": "editor.action.addCommentLine",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "ctrl+k ctrl+c",
    "command": "-editor.action.addCommentLine",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "numpad_multiply",
    "command": "editor.action.removeCommentLine",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "ctrl+k ctrl+u",
    "command": "-editor.action.removeCommentLine",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "ctrl+oem_1",
    "command": "editor.action.blockComment",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "shift+alt+a",
    "command": "-editor.action.blockComment",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "ctrl+f1",
    "command": "editor.action.transformToUppercase"
    },
    {
    "key": "shift+f1",
    "command": "editor.action.transformToLowercase"
    },
    {
    "key": "alt+f",
    "command": "explorer.newFolder"
    },
    {
    "key": "alt+n",
    "command": "explorer.newFile"
    },
    {
    "key": "ctrl+alt+t",
    "command": "gitlens.views.openInTerminal"
    },
    {
    "key": "ctrl+alt+t",
    "command": "openInTerminal"
    },
    {
    "key": "ctrl+shift+alt+f",
    "command": "editor.action.formatDocument",
    "when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
    },
    {
    "key": "shift+alt+f",
    "command": "-editor.action.formatDocument",
    "when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
    },
    {
    "key": "ctrl+alt+b",
    "command": "editor.emmet.action.balanceIn"
    },
    {
    "key": "ctrl+alt+o",
    "command": "editor.emmet.action.balanceOut"
    }
    ]
    {
    "key": "numpad_divide",
    "command": "editor.action.addCommentLine",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "ctrl+k ctrl+c",
    "command": "-editor.action.addCommentLine",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "numpad_multiply",
    "command": "editor.action.removeCommentLine",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "ctrl+k ctrl+u",
    "command": "-editor.action.removeCommentLine",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "ctrl+oem_1",
    "command": "editor.action.blockComment",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "shift+alt+a",
    "command": "-editor.action.blockComment",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "ctrl+f1",
    "command": "editor.action.transformToUppercase"
    },
    {
    "key": "shift+f1",
    "command": "editor.action.transformToLowercase"
    },
    {
    "key": "alt+f",
    "command": "explorer.newFolder"
    },
    {
    "key": "alt+n",
    "command": "explorer.newFile"
    },
    {
    "key": "ctrl+alt+t",
    "command": "gitlens.views.openInTerminal"
    },
    {
    "key": "ctrl+alt+t",
    "command": "openInTerminal"
    },
    {
    "key": "ctrl+shift+alt+f",
    "command": "editor.action.formatDocument",
    "when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
    },
    {
    "key": "shift+alt+f",
    "command": "-editor.action.formatDocument",
    "when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
    },
    {
    "key": "ctrl+alt+b",
    "command": "editor.emmet.action.balanceIn"
    },
    {
    "key": "ctrl+alt+o",
    "command": "editor.emmet.action.balanceOut"
    },
    {
    "key": "alt+t",
    "command": "turboConsoleLog.displayLogMessage"
    },
    {
    "key": "ctrl+alt+l",
    "command": "-turboConsoleLog.displayLogMessage"
    }
    ]
  2. r4vr4n created this gist Oct 13, 2021.
    75 changes: 75 additions & 0 deletions vs-code-keymap
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,75 @@
    // Place your key bindings in this file to override the defaultsauto[]
    [
    {
    "key": "numpad_divide",
    "command": "editor.action.addCommentLine",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "ctrl+k ctrl+c",
    "command": "-editor.action.addCommentLine",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "numpad_multiply",
    "command": "editor.action.removeCommentLine",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "ctrl+k ctrl+u",
    "command": "-editor.action.removeCommentLine",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "ctrl+oem_1",
    "command": "editor.action.blockComment",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "shift+alt+a",
    "command": "-editor.action.blockComment",
    "when": "editorTextFocus && !editorReadonly"
    },
    {
    "key": "ctrl+f1",
    "command": "editor.action.transformToUppercase"
    },
    {
    "key": "shift+f1",
    "command": "editor.action.transformToLowercase"
    },
    {
    "key": "alt+f",
    "command": "explorer.newFolder"
    },
    {
    "key": "alt+n",
    "command": "explorer.newFile"
    },
    {
    "key": "ctrl+alt+t",
    "command": "gitlens.views.openInTerminal"
    },
    {
    "key": "ctrl+alt+t",
    "command": "openInTerminal"
    },
    {
    "key": "ctrl+shift+alt+f",
    "command": "editor.action.formatDocument",
    "when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
    },
    {
    "key": "shift+alt+f",
    "command": "-editor.action.formatDocument",
    "when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
    },
    {
    "key": "ctrl+alt+b",
    "command": "editor.emmet.action.balanceIn"
    },
    {
    "key": "ctrl+alt+o",
    "command": "editor.emmet.action.balanceOut"
    }
    ]