Last active
July 11, 2022 17:58
-
-
Save mukuljainx/5d531d12338826b7f2781d874cd9629d to your computer and use it in GitHub Desktop.
Windows VSCode keybinding to replicate Mac
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": "alt+1", | |
"command": "workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "ctrl+1", | |
"command": "workbench.action.openEditorAtIndex1" | |
}, | |
{ | |
"key": "alt+2", | |
"command": "workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "ctrl+2", | |
"command": "workbench.action.openEditorAtIndex2" | |
}, | |
{ | |
"key": "alt+3", | |
"command": "workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "ctrl+3", | |
"command": "workbench.action.openEditorAtIndex3" | |
}, | |
{ | |
"key": "alt+4", | |
"command": "workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "ctrl+4", | |
"command": "workbench.action.openEditorAtIndex4" | |
}, | |
{ | |
"key": "alt+5", | |
"command": "workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "ctrl+5", | |
"command": "workbench.action.openEditorAtIndex5" | |
}, | |
{ | |
"key": "alt+6", | |
"command": "workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "ctrl+6", | |
"command": "workbench.action.openEditorAtIndex6" | |
}, | |
{ | |
"key": "alt+7", | |
"command": "workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "ctrl+7", | |
"command": "workbench.action.openEditorAtIndex7" | |
}, | |
{ | |
"key": "alt+8", | |
"command": "workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "ctrl+8", | |
"command": "workbench.action.openEditorAtIndex8" | |
}, | |
{ | |
"key": "alt+9", | |
"command": "workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "ctrl+9", | |
"command": "workbench.action.openEditorAtIndex9" | |
}, | |
{ | |
"key": "ctrl+left", | |
"command": "cursorHome" | |
}, | |
{ | |
"key": "ctrl+right", | |
"command": "cursorEnd" | |
}, | |
{ | |
"key": "ctrl+up", | |
"command": "cursorTop" | |
}, | |
{ | |
"key": "ctrl+down", | |
"command": "cursorBottom" | |
}, | |
{ "key": "ctrl+shift+right", "command": "cursorEndSelect" }, | |
{ "key": "ctrl+shift+left", "command": "cursorHomeSelect" }, | |
{ "key": "ctrl+shift+up", "command": "cursorTopSelect" }, | |
{ "key": "ctrl+shift+down", "command": "cursorBottomSelect" }, | |
{ | |
"key": "alt+left", | |
"command": "cursorWordEndLeft" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "cursorWordEndRight" | |
}, | |
{ | |
"key": "alt+shift+left", | |
"command": "cursorWordEndLeftSelect" | |
}, | |
{ | |
"key": "alt+shift+right", | |
"command": "cursorWordEndRightSelect" | |
}, | |
// this extra for my convience to use keyboard only | |
{ | |
"key": "pageup", | |
"command": "cursorMove", | |
"args": { "to": "up", "by": "line", "value": 10 } | |
}, | |
{ | |
"key": "pagedown", | |
"command": "cursorMove", | |
"args": { "to": "down", "by": "line", "value": 10 } | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This also needs keymapping with Power toys to work as mac.
Note: This config is close as possible to mac, but might not replicate 100%.