Created
January 30, 2025 06:09
-
-
Save raykibul/123d296ed83a7636afe8b6ecd7fc62e1 to your computer and use it in GitHub Desktop.
VScode keybinding
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
| [ | |
| { | |
| "key": "shift+alt+cmd+d", | |
| "command": "editor.action.addSelectionToNextFindMatch", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "space e", | |
| "command": "workbench.action.toggleSidebarVisibility" | |
| }, | |
| { | |
| "key": "space f t", | |
| "command": "workbench.action.terminal.toggleTerminal", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "space f t", | |
| "command": "workbench.action.terminal.newWithCwd", | |
| "args": { | |
| "cwd": "${workspaceFolder}" | |
| }, | |
| "when": "editorTextFocus && !terminalFocus" | |
| }, | |
| { | |
| "key": "down", | |
| "command": "search.action.focusNextSearchResult", | |
| "when": "hasSearchResult" | |
| }, | |
| { | |
| "key": "up", | |
| "command": "search.action.focusPreviousSearchResult", | |
| "when": "hasSearchResult" | |
| }, | |
| { | |
| "key": "d", | |
| "command": "deleteFile", | |
| "when": "explorerViewletVisible && filesExplorerFocus" | |
| }, | |
| { | |
| "key": "space f f", | |
| "command": "workbench.action.quickOpen", | |
| "when": "editorTextFocus && vim.active && vim.mode == 'Normal'" | |
| }, | |
| { | |
| "key": "ctrl+h", | |
| "command": "workbench.view.explorer", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "enter", | |
| "command": "list.select", | |
| "when": "explorerViewletVisible && filesExplorerFocus" | |
| }, | |
| { | |
| "key": "a", | |
| "command": "explorer.newFile", | |
| "when": "explorerViewletVisible && filesExplorerFocus" | |
| }, | |
| { | |
| "key": "r", | |
| "command": "renameFile", | |
| "when": "explorerViewletVisible && filesExplorerFocus" | |
| }, | |
| { | |
| "key": "ctrl+l", | |
| "command": "workbench.action.focusActiveEditorGroup", | |
| "when": "sideBarVisible && explorerViewletVisible" | |
| }, | |
| { | |
| "key": "shift+l", | |
| "command": "workbench.action.nextEditor", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "shift+h", | |
| "command": "workbench.action.previousEditor", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "space /", | |
| "command": "workbench.action.findInFiles", | |
| "when": "editorTextFocus && vim.active && vim.mode == 'Normal'" | |
| }, | |
| { | |
| "key": "cmd+d", | |
| "command": "-editor.action.addSelectionToNextFindMatch", | |
| "when": "editorFocus" | |
| }, | |
| { | |
| "key": "cmd+d", | |
| "command": "editor.action.copyLinesDownAction", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "shift+alt+down", | |
| "command": "-editor.action.copyLinesDownAction", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "shift+cmd+a", | |
| "command": "editor.action.formatDocument", | |
| "when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" | |
| }, | |
| { | |
| "key": "shift+alt+f", | |
| "command": "-editor.action.formatDocument", | |
| "when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor" | |
| }, | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment