2020-08-29 18:29:11 +02:00
|
|
|
// Place your key bindings in this file to override the defaultsauto[]
|
|
|
|
[
|
|
|
|
{
|
2020-09-02 03:50:24 +02:00
|
|
|
"key": "shift+ctrl+e",
|
2020-08-29 18:29:11 +02:00
|
|
|
"command": "actions.findWithSelection"
|
|
|
|
},
|
|
|
|
{
|
2020-09-02 03:50:24 +02:00
|
|
|
"key": "ctrl+e",
|
2020-08-29 18:29:11 +02:00
|
|
|
"command": "-actions.findWithSelection"
|
|
|
|
},
|
|
|
|
{
|
2020-09-02 03:50:24 +02:00
|
|
|
"key": "ctrl+e",
|
2020-08-29 18:29:11 +02:00
|
|
|
"command": "workbench.view.explorer"
|
|
|
|
},
|
|
|
|
{
|
2020-09-02 03:50:24 +02:00
|
|
|
"key": "shift+ctrl+e",
|
2020-08-29 18:29:11 +02:00
|
|
|
"command": "-workbench.view.explorer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "r",
|
|
|
|
"command": "renameFile",
|
|
|
|
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "enter",
|
|
|
|
"command": "-renameFile",
|
|
|
|
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "j",
|
|
|
|
"command": "list.focusDown",
|
2020-09-06 08:44:25 +02:00
|
|
|
"when": "listFocus && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
|
2020-08-29 18:29:11 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "k",
|
|
|
|
"command": "list.focusUp",
|
2020-09-06 08:44:25 +02:00
|
|
|
"when": "listFocus && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
|
2020-08-29 18:29:11 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+j",
|
|
|
|
"command": "selectNextSuggestion",
|
|
|
|
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+k",
|
|
|
|
"command": "selectPrevSuggestion",
|
|
|
|
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+j",
|
|
|
|
"command": "workbench.action.quickOpenNavigateNext",
|
|
|
|
"when": "inQuickOpen"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "tab",
|
|
|
|
"command": "selectNextSuggestion",
|
|
|
|
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "tab",
|
|
|
|
"command": "workbench.action.quickOpenNavigateNext",
|
|
|
|
"when": "inQuickOpen"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "shit+tab",
|
|
|
|
"command": "selectPrevSuggestion",
|
|
|
|
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
|
|
|
|
},
|
2020-09-06 08:44:25 +02:00
|
|
|
{
|
|
|
|
"key": "shift+tab",
|
|
|
|
"command": "selectPrevSuggestion",
|
|
|
|
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
|
|
|
|
},
|
2020-08-29 18:29:11 +02:00
|
|
|
{
|
|
|
|
"key": "shift+tab",
|
|
|
|
"command": "workbench.action.quickOpenNavigatePrevious",
|
|
|
|
"when": "inQuickOpen"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+k",
|
|
|
|
"command": "workbench.action.quickOpenNavigatePrevious",
|
|
|
|
"when": "inQuickOpen"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "enter",
|
|
|
|
"command": "list.select",
|
|
|
|
"when": "explorerViewletVisible && filesExplorerFocus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "l",
|
|
|
|
"command": "list.select",
|
2020-09-06 08:44:25 +02:00
|
|
|
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
|
2020-08-29 18:29:11 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "o",
|
|
|
|
"command": "list.toggleExpand",
|
2020-09-06 08:44:25 +02:00
|
|
|
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
|
2020-08-29 18:29:11 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "h",
|
|
|
|
"command": "list.collapse",
|
2020-09-06 08:44:25 +02:00
|
|
|
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
|
2020-08-29 18:29:11 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "a",
|
|
|
|
"command": "explorer.newFile",
|
|
|
|
"when": "filesExplorerFocus && !inputFocus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "shift+a",
|
|
|
|
"command": "explorer.newFolder",
|
|
|
|
"when": "filesExplorerFocus && !inputFocus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "shift+;",
|
|
|
|
"command": "insertPrevSuggestion",
|
|
|
|
"when": "hasOtherSuggestions && textInputFocus && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+l",
|
|
|
|
"when": "sideBarFocus",
|
|
|
|
"command": "workbench.action.focusActiveEditorGroup"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+k",
|
|
|
|
"command": "workbench.action.focusActiveEditorGroup",
|
|
|
|
"when": "terminalFocus"
|
|
|
|
},
|
|
|
|
{
|
2020-09-02 03:50:24 +02:00
|
|
|
"key": "ctrl+shift+t",
|
2020-08-29 18:29:11 +02:00
|
|
|
"command": "workbench.action.terminal.focus",
|
|
|
|
"when": "!terminalFocus"
|
2020-09-02 03:50:24 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+j",
|
|
|
|
"command": "-editor.action.insertLineAfter",
|
|
|
|
"when": "editorTextFocus && neovim.ctrlKeysInsert && !neovim.recording && neovim.mode == 'insert'"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "alt+j",
|
|
|
|
"command": "workbench.action.terminal.focus",
|
|
|
|
"when": "!terminalFocus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+shift+t",
|
|
|
|
"command": "workbench.action.togglePanel"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+j",
|
|
|
|
"command": "-workbench.action.togglePanel"
|
2020-09-06 08:44:25 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "shift+k",
|
|
|
|
"command": "editor.action.showHover",
|
|
|
|
"when": "editorTextFocus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+k ctrl+i",
|
|
|
|
"command": "-editor.action.showHover",
|
|
|
|
"when": "editorTextFocus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "shift+tab",
|
|
|
|
"command": "-acceptAlternativeSelectedSuggestion",
|
|
|
|
"when": "suggestWidgetVisible && textInputFocus && textInputFocus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+f",
|
|
|
|
"command": "-vscode-neovim.ctrl-f",
|
|
|
|
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
|
2020-08-29 18:29:11 +02:00
|
|
|
}
|
|
|
|
]
|