Created
September 26, 2025 15:06
-
-
Save Albert26193/0582e6393dfc6348efb7db2279e088e0 to your computer and use it in GitHub Desktop.
shortcut.20250926.json
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
| [ | |
| // ---------------------------------------- | |
| // search editor | |
| // ---------------------------------------- | |
| { | |
| "key": "cmd+j", | |
| "command": "search.focus.nextInputBox", | |
| "when": "inSearchEditor && inputBoxFocus || inputBoxFocus && searchViewletVisible" | |
| }, | |
| { | |
| "key": "cmd+down", | |
| "command": "-search.focus.nextInputBox", | |
| "when": "inSearchEditor && inputBoxFocus || inputBoxFocus && searchViewletVisible" | |
| }, | |
| // ---------------------------------------- | |
| // quick zoom | |
| // ---------------------------------------- | |
| { | |
| "key": "alt+-", | |
| "command": "workbench.action.decreaseViewSize" | |
| }, | |
| { | |
| "key": "alt+=", | |
| "command": "workbench.action.increaseViewSize" | |
| }, | |
| // ---------------------------------------- | |
| // whichkey | |
| // ---------------------------------------- | |
| { | |
| "key": "cmd+r", | |
| "command": "whichkey.show" | |
| }, | |
| // ---------------------------------------- | |
| // find widget: vim like | |
| // ---------------------------------------- | |
| { | |
| "key": "ctrl+f", | |
| "command": "toggleFindInSelection", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "alt+cmd+l", | |
| "command": "-toggleFindInSelection", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "escape", | |
| "command": "-closeFindWidget", | |
| "when": "editorFocus && findWidgetVisible && !isComposing" | |
| }, | |
| { | |
| "key": "ctrl+escape", | |
| "command": "closeFindWidget", | |
| "when": "editorFocus && findWidgetVisible" | |
| }, | |
| { | |
| "command": "runCommands", | |
| "key": "escape", | |
| "when": "editorFocus && findWidgetVisible && !isComposing && findInputFocussed", | |
| "args": { | |
| "commands": ["workbench.action.focusActiveEditorGroup", "extension.vim_escape"] | |
| } | |
| }, | |
| { | |
| "command": "runCommands", | |
| "key": "enter", | |
| "when": "editorFocus && findWidgetVisible && !isComposing && findInputFocussed", | |
| "args": { | |
| "commands": ["workbench.action.focusActiveEditorGroup", "extension.vim_escape"] | |
| } | |
| }, | |
| { | |
| "key": "enter", | |
| "command": "-editor.action.nextMatchFindAction", | |
| "when": "editorFocus && findInputFocussed" | |
| }, | |
| { | |
| "key": "n", | |
| "command": "runCommands", | |
| "when": "editorFocus && vim.mode == 'Normal' && findWidgetVisible && !findInputFocussed", | |
| "args": { | |
| "commands": ["editor.action.nextMatchFindAction", "extension.vim_escape"] | |
| } | |
| }, | |
| { | |
| "key": "shift+n", | |
| "command": "runCommands", | |
| // "when": "editorFocus && vim.mode == 'Normal' && findWidgetVisible", | |
| "when": "editorFocus && vim.mode != 'Insert' && findWidgetVisible && !findInputFocussed", | |
| "args": { | |
| "commands": ["editor.action.previousMatchFindAction", "extension.vim_escape"] | |
| } | |
| }, | |
| // { | |
| // "key": "ctrl+shift+y", | |
| // "command": "vim.remap", | |
| // "when": "inputFocus && vim.mode == 'Normal'", | |
| // "args": { | |
| // "after": ["y", "y"] | |
| // } | |
| // }, | |
| // ---------------------------------------- | |
| // LLM | |
| // ---------------------------------------- | |
| { | |
| "command": "runCommands", | |
| "key": "shift+cmd+l", | |
| // "when": "editorFocus", | |
| "args": { | |
| "commands": ["workbench.panel.chat.view.copilot.focus", "github.copilot.chat.attachSelection"] | |
| } | |
| }, | |
| { | |
| "key": "cmd+e", | |
| "command": "editor.action.triggerSuggest", | |
| "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible" | |
| }, | |
| { | |
| "command": "runCommands", | |
| "key": "cmd+l", | |
| // "when": "editorFocus", | |
| "args": { | |
| "commands": ["kilo-code.addToContext", "kilo-code.focusChatInput"] | |
| } | |
| }, | |
| // ---------------------------------------- | |
| // search editor | |
| // ---------------------------------------- | |
| { | |
| "name": "focus on search editor input", | |
| "command": "runCommands", | |
| "when": "inSearchEditor && !inputBoxFocus", | |
| "key": "tab", | |
| "args": { | |
| "commands": ["search.action.focusQueryEditorWidget"] | |
| } | |
| }, | |
| { | |
| "name": "focus on search editor content", | |
| "command": "runCommands", | |
| "when": "inSearchEditor && inputBoxFocus", | |
| "key": "tab", | |
| "args": { | |
| "commands": ["search.action.focusFilesToExclude", "search.focus.nextInputBox"] | |
| } | |
| }, | |
| // ---------------------------------------- | |
| // float window | |
| // ---------------------------------------- | |
| // { | |
| // "key": "cmd+5", | |
| // "command": "-workbench.action.focusFifthEditorGroup" | |
| // }, | |
| { | |
| "name": "focus on last editor group(floating window)", | |
| "command": "runCommands", | |
| "key": "cmd+k cmd+k", | |
| "args": { | |
| "commands": ["workbench.action.focusLastEditorGroup", "workbench.action.enableWindowAlwaysOnTop"] | |
| } | |
| }, | |
| { | |
| "name": "focus on fisrt editor group(floating window)", | |
| "command": "runCommands", | |
| "key": "cmd+k cmd+1", | |
| "args": { | |
| "commands": [ | |
| // last group | |
| "workbench.action.focusLastEditorGroup", | |
| "workbench.action.disableWindowAlwaysOnTop", | |
| "workbench.action.focusFirstEditorGroup", | |
| "workbench.action.focusLastEditorGroup", | |
| "workbench.action.disableWindowAlwaysOnTop", | |
| "workbench.action.focusFirstEditorGroup" | |
| ] | |
| } | |
| } | |
| // { | |
| // "key": "cmd+5", | |
| // "command": "workbench.action.focusLastEditorGroup" | |
| // } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment