Skip to content

Instantly share code, notes, and snippets.

@take-cheeze
Created May 21, 2024 13:22
Show Gist options
  • Save take-cheeze/774eba59b9cf31634961beba0cf4fbf5 to your computer and use it in GitHub Desktop.
Save take-cheeze/774eba59b9cf31634961beba0cf4fbf5 to your computer and use it in GitHub Desktop.
// 既定値を上書きするには、このファイル内にキー バインドを挿入しますauto[]
[
{
"key": "ctrl+x g",
"command": "magit.status"
},
{
"key": "ctrl+x 0",
"command": "workbench.action.closeGroup",
"when": "editorFocus"
},
{
"key": "ctrl+x 2",
"command": "workbench.action.splitEditorOrthogonal",
"when": "editorFocus"
},
{
"key": "ctrl+x 0",
"command": "workbench.action.terminal.unsplit",
"when": "terminalFocus"
},
{
"key": "ctrl+x 2",
"command": "workbench.action.terminal.split",
"when": "terminalFocus"
},
{
"key": "ctrl+x 3",
"command": "workbench.action.splitEditorToRightGroup",
"when": "editorFocus"
},
{
"key": "ctrl+b n",
"command": "workbench.action.nextEditor",
"when": "editorFocus"
},
{
"key": "ctrl+b p",
"command": "workbench.action.previousEditor",
"when": "editorFocus"
},
{
"key": "ctrl+b n",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "ctrl+b p",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor",
"when": "editorFocus"
},
{
"key": "shift+ctrl+tab",
"command": "workbench.action.previousEditor",
"when": "editorFocus"
},
{
"key": "ctrl+c ctrl+c",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u0003"
},
"when": "terminalFocus"
},
{
"key": "ctrl+c g g",
"command": "workbench.action.tasks.runTask",
"args": "git grep"
},
{
"key": "alt+g n",
"command": "editor.action.marker.nextInFiles",
},
{
"key": "alt+g p",
"command": "editor.action.marker.prevInFiles",
},
{
"key": "ctrl+[IntlRo]",
"command": "undo"
},
{
"key": "ctrl+[IntlYen]",
"command": "undo",
},
{
"key": "ctrl+shift+oem_102",
"command": "undo",
"when": "editorTextFocus"
},
{
"key": "ctrl+c k",
"command": "workbench.action.tasks.terminate"
},
{
"key": "ctrl+c c",
"command": "workbench.action.tasks.reRunTask"
},
{
"key": "alt+x",
"command": "workbench.action.showCommands"
},
{
"key": "ctrl+x b",
"command": "workbench.action.showAllEditors"
},
{
"key": "ctrl+t",
"command": "-editor.action.transposeLetters",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+c up",
"command": "workbench.action.focusAboveGroup",
"when": "editorFocus"
},
{
"key": "ctrl+c down",
"command": "workbench.action.focusBelowGroup",
"when": "editorFocus"
},
{
"key": "ctrl+c up",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
{
"key": "ctrl+c down",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "ctrl+t",
"command": "workbench.action.focusNextGroup",
"when": "editorFocus"
},
{
"key": "ctrl+c right",
"command": "workbench.action.focusRightGroup",
"when": "editorFocus"
},
{
"key": "ctrl+c right",
"command": "workbench.action.terminal.focus",
"when": "activeEditorGroupLast"
},
{
"key": "ctrl+c left",
"command": "workbench.action.focusLastEditorGroup",
"when": "terminalFocus"
},
{
"key": "ctrl+c left",
"command": "workbench.action.focusLeftGroup",
"when": "editorFocus"
},
{
"key": "alt+w",
"command": "editor.action.clipboardCopyAction",
"when": "editorFocus && editorHasSelection"
},
{
"key": "ctrl+w",
"command": "editor.action.clipboardCutAction",
"when": "editorFocus && editorHasSelection"
},
{
"key": "ctrl+y",
"command": "editor.action.clipboardPasteAction",
"when": "editorFocus"
},
{
"key": "ctrl+y",
"command": "workbench.action.terminal.paste",
"when": "terminalFocus"
},
{
"key": "alt+w",
"command": "workbench.action.terminal.copySelection",
"when": "terminalFocus && terminalTextSelected"
},
{
"key": "ctrl+w",
"command": "editor.action.clipboardCutAction",
"when": "editorFocus && editorHasSelection"
},
{
"key": "shift+alt+[",
"command": "cursorMove",
"args": {
"to": "prevBlankLine"
},
"when": "editorTextFocus"
},
{
"key": "shift+alt+]",
"command": "cursorMove",
"args": {
"to": "nextBlankLine"
},
"when": "editorTextFocus"
},
{
"key": "ctrl+tab",
"command": "-workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup",
"when": "!activeEditorGroupEmpty"
},
{
"key": "ctrl+shift+tab",
"command": "-workbench.action.quickOpenLeastRecentlyUsedEditorInGroup",
"when": "!activeEditorGroupEmpty"
},
{
"key": "ctrl+k ctrl+s",
"command": "-workbench.action.openGlobalKeybindings"
},
{
"key": "ctrl+s",
"command": "-workbench.action.files.save"
},
{
"key": "ctrl+c t",
"command": "workbench.action.terminal.new"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment