Last active
October 29, 2023 21:08
-
-
Save pcnoic/e18861eb01b19807e6f663858c4d52a7 to your computer and use it in GitHub Desktop.
VSCode Keybindings for using a Windows/Linux layout on macOS (provided that you have karabiner pc-style keymap enabled)
This file contains 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
// User keybindings.json and use this https://marketplace.visualstudio.com/items?itemName=smcpeak.default-keys-windows | |
[ | |
{ | |
"key": "ctrl+shift+p", | |
"command": "workbench.action.quickOpenNavigatePreviousInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "shift+cmd+p", | |
"command": "-workbench.action.quickOpenNavigatePreviousInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "shift+alt+right", | |
"command": "cursorWordEndRightSelect", | |
"when": "textInputFocus && !accessibilityModeEnabled" | |
}, | |
{ | |
"key": "ctrl+shift+right", | |
"command": "-cursorWordEndRightSelect", | |
"when": "textInputFocus && !accessibilityModeEnabled" | |
}, | |
{ | |
"key": "shift+alt+left", | |
"command": "cursorWordEndLeftSelect" | |
}, | |
{ | |
"key": "alt+left", | |
"command": "cursorWordEndLeft" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "cursorWordEndRight", | |
"when": "textInputFocus && !accessibilityModeEnabled" | |
}, | |
{ | |
"key": "ctrl+right", | |
"command": "-cursorWordEndRight", | |
"when": "textInputFocus && !accessibilityModeEnabled" | |
}, | |
{ | |
"key": "cmd+c", | |
"command": "workbench.action.terminal.sendSequence", | |
"args": { | |
"text": "\u0003" | |
}, | |
"when": "terminalFocus" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment