Skip to content

Instantly share code, notes, and snippets.

@kenmori
Created October 5, 2019 00:38
Show Gist options
  • Save kenmori/e8c4be690793fbb9fdf10662b8caf80f to your computer and use it in GitHub Desktop.
Save kenmori/e8c4be690793fbb9fdf10662b8caf80f to your computer and use it in GitHub Desktop.
keybordsetting.json
[
// サジェストの移動、確定
{
"key": "ctrl+k",
"command": "acceptSelectedSuggestion"
},
{
"key": "ctrl+n",
"command": "selectNextSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
{
"key": "ctrl+p",
"command": "selectPrevSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
{
"key": "ctrl+n",
"command": "settings.action.focusSettingsFile",
"when": "inSettingsSearch"
},
{
"key": "ctrl+n",
"command": "showNextParameterHint",
"when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "ctrl+n",
"command": "keybindings.editor.focusKeybindings",
"when": "inKeybindings && inKeybindingsSearch"
},
{
"key": "ctrl+n",
"command": "list.focusDown",
"when": "listFocus"
},
{
"key": "ctrl+n",
"command": "search.focus.nextInputBox",
"when": "inputBoxFocus && searchViewletVisible"
},
{
"key": "ctrl+[",
"command": "settings.action.clearSearchResults",
"when": "inSettingsSearch"
},
{
"key": "ctrl+n",
"command": "workbench.action.interactivePlayground.arrowDown",
"when": "interactivePlaygroundFocus && !editorTextFocus"
},
// エディター以外のビューから抜けてくるときに
{
"key": "ctrl+n",
"command": "workbench.action.focusActiveEditorGroup"
},
// 検索窓を閉じる
{
"key": "ctrl+[",
"command": "workbench.action.closeQuickOpen",
"when": "inQuickOpen"
},
// 検索からファイルに移動する時
{
"key": "ctrl+n",
"command": "search.focus.nextInputBox",
"when": "inputBoxFocus && searchViewletVisible"
},
{
"key": "cmd+n",
"command": "workbench.view.explorer"
},
{
"key": "shift+cmd+e",
"command": "-workbench.view.explorer"
},
{
"key": "ctrl+shift+o",
"command": "workbench.action.files.openFileFolder"
},
{
"key": "cmd+o",
"command": "-workbench.action.files.openFileFolder"
},
{
"key": "shift+cmd+n",
"command": "workbench.action.files.newUntitledFile"
},
{
"key": "cmd+n",
"command": "-workbench.action.files.newUntitledFile"
},
{
"key": "ctrl+t ctrl+t",
"command": "workbench,action.toggleTabsVisibility"
},
{
"key": "ctrl+cmd+w",
"command": "-workbench.action.toggleTabsVisibility"
},
{
"key": "ctrl+shift+tab",
"command": "-workbench.action.openPreviousRecentlyUsedEditorInGroup"
},
{
"key": "ctrl+j",
"command": "extension.vim_escape",
"when": "editorTextFocus && vim.active && !inDebugRepl"
},
{
"key": "escape",
"command": "-extension.vim_escape",
"when": "editorTextFocus && vim.active && !inDebugRepl"
},
{
"key": "ctrl+m",
"command": "workbench.action.quickOpenTerm"
},
{
"key": "ctrl+shift+[Minus]",
"command": "workbench.action.terminal.kill"
},
{
"key": "shift+alt+n",
"command": "workbench.action.newWindow"
},
{
"key": "shift+cmd+n",
"command": "-workbench.action.newWindow"
},
{
"key": "ctrl+q ctrl+a",
"command": "workbench.action.quickOpenNavigateNextInViewPicker",
"when": "inQuickOpen && inViewsPicker"
},
{
"key": "ctrl+q",
"command": "-workbench.action.quickOpenNavigateNextInViewPicker",
"when": "inQuickOpen && inViewsPicker"
},
{
"key": "ctrl+q ctrl+w",
"command": "workbench.action.quickOpenView"
},
{
"key": "ctrl+q",
"command": "-workbench.action.quickOpenView"
},
{
"key": "shift+cmd+r",
"command": "workbench.action.splitEditorRight"
},
{
"key": "shift+cmd+left",
"command": "editor.action.webvieweditor.copy",
"when": "!editorFocus && !inputFocus && activeEditor == 'WebviewEditor'"
},
{
"key": "cmd+c",
"command": "-editor.action.webvieweditor.copy",
"when": "!editorFocus && !inputFocus && activeEditor == 'WebviewEditor'"
},
{
"key": "cmd+[Semicolon]",
"command": "workbench.action.debug.start",
"when": "!inDebugMode"
},
{
"key": "f5",
"command": "-workbench.action.debug.start",
"when": "!inDebugMode"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment