Skip to content

Instantly share code, notes, and snippets.

@SuCicada
Last active January 23, 2022 05:36
Show Gist options
  • Select an option

  • Save SuCicada/a01a12310186b152c3752f7b1e7ee178 to your computer and use it in GitHub Desktop.

Select an option

Save SuCicada/a01a12310186b152c3752f7b1e7ee178 to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+k shift+z",
"command": "workbench.action.toggleZenMode"
},
{
"key": "ctrl+k z",
"command": "-workbench.action.toggleZenMode"
},
{
"key": "ctrl+k z",
"command": "workbench.action.toggleEditorWidths"
},
{
"key": "ctrl+j",
"command": "-editor.action.joinLines",
"when": "editorTextFocus"
},
{
"key": "ctrl+j",
"command": "-workbench.action.togglePanel"
},
{
"key": "ctrl+d",
"command": "-editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "ctrl+shift+x",
"command": "-workbench.view.extensions",
"when": "viewContainer.workbench.view.extensions.enabled"
},
{
"key": "ctrl+shift+x",
"command": "editor.action.clipboardCutAction"
},
{
"key": "ctrl+x",
"command": "-editor.action.clipboardCutAction"
},
{
"key": "ctrl+shift+c",
"command": "-workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{
"key": "ctrl+shift+c",
"command": "editor.action.clipboardCopyAction"
},
{
"key": "alt+pageup",
"command": "cursorHome",
"when": "textInputFocus"
},
{
"key": "alt+pagedown",
"command": "cursorEnd",
"when": "textInputFocus"
},
{
"key": "shift+alt+pageup",
"command": "cursorHomeSelect",
"when": "textInputFocus"
},
{
"key": "shift+alt+pagedown",
"command": "cursorEndSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+d",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+up",
"command": "editor.action.insertLineBefore",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+enter",
"command": "-editor.action.insertLineBefore",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+down",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+enter",
"command": "-editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+oem_1",
"command": "extension.jumpy-word"
},
{
"key": "Escape",
"command": "extension.jumpy-exit",
"when": "editorTextFocus && jumpy.isJumpyMode"
},
{
"key": "alt+j",
"command": "cursorDown",
"when": "textInputFocus"
},
{
"key": "alt+k",
"command": "cursorUp",
"when": "textInputFocus"
},
{
"key": "alt+h",
"command": "cursorLeft",
"when": "textInputFocus"
},
{
"key": "alt+l",
"command": "cursorRight",
"when": "textInputFocus"
},
{
"key": "ctrl+oem_1",
"command": "-workbench.action.gotoSymbol"
},
{
"key": "ctrl+shift+enter",
"command": "editor.action.insertLineBefore",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+e",
"command": "-workbench.action.quickOpen",
"when": "!terminalFocus"
},
{
"key": "ctrl+e",
"command": "workbench.action.quickOpen",
"when": "!terminalFocus"
},
{
"key": "ctrl+p",
"command": "-workbench.action.quickOpen",
"when": "!terminalFocus"
},
{
"key": "ctrl+e",
"command": "workbench.action.quickOpen",
"when": "!terminalFocus"
},
{
"key": "ctrl+e",
"command": "-workbench.action.quickOpen"
},
{
"key": "ctrl+p",
"command": "workbench.action.quickOpenPreviousEditor",
"when": "!terminalFocus"
},
{
"key": "ctrl+p",
"command": "-workbench.action.quickOpenPreviousEditor"
},
{
"key": "ctrl+p",
"command": "workbench.action.quickOpen",
"when": "!terminalFocus"
},
{
"key": "ctrl+p",
"command": "-workbench.action.quickOpen"
},
{
"key": "alt+left",
"command": "-cursorWordStartLeft",
"when": "editorTextFocus"
},
{
"key": "alt+right",
"command": "-cursorWordEndRight",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+0",
"command": "-editor.unfoldAll",
"when": "editorFocus"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment