Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save take-cheeze/08931c57f909568224dc434830f898c8 to your computer and use it in GitHub Desktop.
Save take-cheeze/08931c57f909568224dc434830f898c8 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+tab",
"command": "workbench.action.nextEditor",
"when": "editorFocus"
},
{
"key": "shift+ctrl+tab",
"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+c ctrl+c",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u0003"
},
"when": "terminalFocus"
},
{
"key": "ctrl+b ctrl+b",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u0002"
},
"when": "terminalFocus"
},
{
"key": "ctrl+x ctrl+x",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u0018"
},
"when": "terminalFocus"
},
{
"key": "ctrl+x ctrl+s",
"command": "workbench.action.files.save"
},
{
"key": "ctrl+c t",
"command": "workbench.action.terminal.new",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+c g g",
"command": "workbench.action.terminal.run",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+[IntlRo]",
"command": "undo",
},
{
"key": "ctrl+[IntlYen]",
"command": "undo",
},
{
"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+t",
"command": "workbench.action.focusNextGroup",
"when": "editorFocus"
},
{
"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.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "ctrl+c down",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
{
"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": "ctrl+s",
"command": "actions.find",
"when": "editorFocus"
},
{
"key": "ctrl+s",
"command": "workbench.action.terminal.focusFind",
"when": "terminalFocus && !findWidgetVisible"
},
{
"key": "ctrl+s",
"command": "workbench.action.terminal.findNext",
"when": "terminalFindInputFocused"
},
{
"key": "ctrl+r",
"command": "workbench.action.terminal.findPrevious",
"when": "terminalFindInputFocused"
},
// {
// "key": "alt+w",
// "command": "execCopy",
// "when": "editorFocus"
// },
// {
// "key": "ctrl+w",
// "command": "execCut",
// "when": "editorFocus"
// },
// {
// "key": "ctrl+y",
// "command": "execPaste",
// "when": "editorFocus"
// },
{
"key": "ctrl+y",
"command": "workbench.action.terminal.paste",
"when": "terminalFocus"
},
{
"key": "alt+w",
"command": "workbench.action.terminal.copySelection",
"when": "terminalFocus"
},
{
"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+s",
"command": "-workbench.action.files.save"
},
{
"key": "ctrl+s",
"command": "-actions.find",
"when": "!findWidgetVisible"
},
{
"key": "ctrl+s",
"command": "-actions.find",
"when": "findWidgetVisible && textInputFocus"
},
{
"key": "ctrl+r",
"command": "-workbench.action.terminal.runRecentCommand",
"when": "accessibilityModeEnabled && terminalFocus && terminalHasBeenCreated || accessibilityModeEnabled && terminalFocus && terminalProcessSupported"
},
{
"key": "f6",
"command": "-workbench.action.debug.pause",
"when": "debugState == 'running'"
},
{
"key": "f6",
"command": "-workbench.action.focusNextPart"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment