Last active
May 13, 2025 02:53
-
-
Save night-fury-rider/2efd128b283470d55bb3f0195b7598f9 to your computer and use it in GitHub Desktop.
Visual Studio Code - Mac - Keyboard Shortcuts Customization.
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
| // Update `~/Library/Application Support/Code/User/keybindings.json` file for keyboard shortcuts | |
| [ | |
| { | |
| "key": "shift+cmd+f", | |
| "command": "editor.action.formatSelection", | |
| "when": "editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "cmd+k cmd+f", | |
| "command": "-editor.action.formatSelection", | |
| "when": "editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "cmd+d", | |
| "command": "editor.action.deleteLines", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "shift+cmd+k", | |
| "command": "-editor.action.deleteLines", | |
| "when": "textInputFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "shift+cmd+/", | |
| "command": "editor.action.blockComment", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "shift+alt+a", | |
| "command": "-editor.action.blockComment", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "shift+cmd+r", | |
| "command": "workbench.action.quickOpen" | |
| }, | |
| { | |
| "key": "cmd+p", | |
| "command": "-workbench.action.quickOpen" | |
| }, | |
| { | |
| "key": "cmd+l", | |
| "command": "workbench.action.gotoLine" | |
| }, | |
| { | |
| "key": "ctrl+g", | |
| "command": "-workbench.action.gotoLine" | |
| }, | |
| { | |
| "key": "ctrl+tab", | |
| "command": "workbench.action.nextEditor" | |
| }, | |
| { | |
| "key": "shift+cmd+]", | |
| "command": "-workbench.action.nextEditor" | |
| }, | |
| { | |
| "key": "ctrl+shift+tab", | |
| "command": "workbench.action.previousEditor" | |
| }, | |
| { | |
| "key": "shift+cmd+[", | |
| "command": "-workbench.action.previousEditor" | |
| }, | |
| { | |
| "key": "shift+cmd+g", | |
| "command": "git.checkout" | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment