Created
October 24, 2023 20:05
-
-
Save ahmadsb86/c2296309907b3c58c4967ab2803b8c82 to your computer and use it in GitHub Desktop.
CPP keybinds
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
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "ctrl+enter", | |
"command": "code-runner.run" | |
}, | |
{ | |
"key": "ctrl+alt+n", | |
"command": "-code-runner.run" | |
}, | |
{ | |
"key": "ctrl+shift+d", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "-editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+left", | |
"command": "cursorHome", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "home", | |
"command": "-cursorHome", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+alt+left", | |
"command": "cursorHomeSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+home", | |
"command": "-cursorHomeSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+alt+right", | |
"command": "cursorEnd", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "end", | |
"command": "-cursorEnd", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+alt+right", | |
"command": "cursorEndSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "shift+end", | |
"command": "-cursorEndSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "workbench.action.terminal.toggleTerminal", | |
"when": "terminal.active" | |
}, | |
{ | |
"key": "ctrl+`", | |
"command": "-workbench.action.terminal.toggleTerminal", | |
"when": "terminal.active" | |
}, | |
{ | |
"key": "ctrl+d", | |
"command": "editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+k", | |
"command": "-editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "-workbench.action.quickOpenLeastRecentlyUsedEditorInGroup", | |
"when": "!activeEditorGroupEmpty" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+pagedown", | |
"command": "-workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "ctrl+pageup", | |
"command": "-workbench.action.previousEditor" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment