Created
August 31, 2023 17:55
-
-
Save danthemango/ee819f3a5316428435559749706c8176 to your computer and use it in GitHub Desktop.
VS Code, run previous terminal 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
// this adds a command to re-run the previous bash command | |
// asuming you git-bash or another bash terminal open inside of vscode | |
// update the keybindings json array as follows | |
[ | |
{ | |
"key": "shift+enter", | |
"command": "workbench.action.terminal.sendSequence", | |
"args": { | |
"text": "!!\r" | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment