Last active
April 5, 2022 07:04
-
-
Save zs-dima/3d8c874a9464c2775432d44a907bd2e1 to your computer and use it in GitHub Desktop.
VSCode keybindings (with plugin https://marketplace.visualstudio.com/items?itemName=ryuta46.multi-command)
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
[ | |
{ | |
"key": "ctrl+shift+l", | |
"command": "editor.action.transformToLowercase" | |
}, | |
{ | |
"key": "ctrl+shift+u", | |
"command": "editor.action.transformToUppercase" | |
}, | |
{ | |
"key": "alt+x", | |
"command": "extension.multiCommand.execute", | |
"args": { | |
"command": "multiCommand.makeCodegenFocusTerminal" | |
}, | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "alt+x", | |
"command": "workbench.action.terminal.sendSequence", | |
"args": { | |
"text": "make codegen\n" | |
}, | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "alt+v", | |
"command": "extension.multiCommand.execute", | |
"args": { | |
"command": "multiCommand.makeBuildFocusTerminal" | |
}, | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "alt+v", | |
"command": "workbench.action.terminal.sendSequence", | |
"args": { | |
"text": "make build\n" | |
}, | |
"when": "terminalFocus" | |
}, | |
] |
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
// MultiCommand | |
"multiCommand.commands": [ | |
{ | |
"command": "multiCommand.makeCodegenFocusTerminal", | |
"sequence": [ | |
"workbench.action.terminal.focus", | |
"workbench.action.focusActiveEditorGroup", | |
{ | |
"command": "workbench.action.terminal.sendSequence", | |
"args": { | |
"text": "make codegen\n" | |
} | |
} | |
] | |
}, | |
{ | |
"command": "multiCommand.makeBuildFocusTerminal", | |
"sequence": [ | |
"workbench.action.terminal.focus", | |
"workbench.action.focusActiveEditorGroup", | |
{ | |
"command": "workbench.action.terminal.sendSequence", | |
"args": { | |
"text": "make build\n" | |
} | |
} | |
] | |
} | |
], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment