Last active
December 5, 2022 11:03
-
-
Save relax2code/f2db79acfda81e03e8b9487681cdf7e9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Place your key bindings in this file to override the defaults | |
| [ | |
| { | |
| "key": "shift+ctrl+e", | |
| "command": "actions.findWithSelection" | |
| }, | |
| { | |
| "key": "ctrl+e", | |
| "command": "-actions.findWithSelection" | |
| }, | |
| { | |
| "key": "ctrl+e", | |
| "command": "workbench.view.explorer" | |
| }, | |
| { | |
| "key": "shift+ctrl+e", | |
| "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", | |
| "when": "listFocus && !inputFocus" | |
| }, | |
| { | |
| "key": "k", | |
| "command": "list.focusUp", | |
| "when": "listFocus && !inputFocus" | |
| }, | |
| { | |
| "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" | |
| }, | |
| { | |
| "key": "shift+tab", | |
| "command": "selectPrevSuggestion", | |
| "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" | |
| }, | |
| { | |
| "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", | |
| "when": "!inputFocus" | |
| }, | |
| { | |
| "key": "o", | |
| "command": "list.toggleExpand", | |
| "when": "!inputFocus" | |
| }, | |
| { | |
| "key": "h", | |
| "command": "list.collapse", | |
| "when": "explorerViewletVisible && filesExplorerFocus && !inputFocus" | |
| }, | |
| { | |
| "key": "d", | |
| "command": "deleteFile", | |
| "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus" | |
| }, | |
| { | |
| "key": "y", | |
| "command": "filesExplorer.copy", | |
| "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" | |
| }, | |
| { | |
| "key": "x", | |
| "command": "filesExplorer.cut", | |
| "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" | |
| }, | |
| { | |
| "key": "p", | |
| "command": "filesExplorer.paste", | |
| "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus" | |
| }, | |
| { | |
| "key": "v", | |
| "command": "explorer.openToSide", | |
| "when": "explorerViewletFocus && explorerViewletVisible && !inputFocus" | |
| }, | |
| { | |
| "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" | |
| }, | |
| { | |
| "key": "ctrl+shift+t", | |
| "command": "workbench.action.terminal.focus", | |
| "when": "!terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+j", | |
| "command": "-editor.action.insertLineAfter", | |
| "when": "editorTextFocus && neovim.ctrlKeysInsert && !neovim.recording && neovim.mode == 'insert'" | |
| }, | |
| { | |
| "command": "vscode-neovim.compositeEscape1", | |
| "key": "j", | |
| "when": "neovim.mode == insert && editorTextFocus", | |
| "args": "j" | |
| }, | |
| { | |
| "command": "vscode-neovim.compositeEscape2", | |
| "key": "k", | |
| "when": "neovim.mode == insert && editorTextFocus", | |
| "args": "k" | |
| }, | |
| { | |
| "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" | |
| }, | |
| { | |
| "key": "shift+k", | |
| "command": "editor.action.showHover", | |
| "when": "editorTextFocus && !textInputFocus" | |
| }, | |
| { | |
| "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'" | |
| }, | |
| { | |
| "key": "shift+delete", | |
| "command": "-deleteFile", | |
| "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus" | |
| }, | |
| { | |
| "key": "ctrl+shift+k m", | |
| "command": "editor.action.deleteLines", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+shift+k", | |
| "command": "-editor.action.deleteLines", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+shift+m k", | |
| "command": "workbench.action.editor.changeLanguageMode" | |
| }, | |
| { | |
| "key": "ctrl+k m", | |
| "command": "-workbench.action.editor.changeLanguageMode" | |
| } | |
| ] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment