Make a keybinding to run previous or last shell commands
With vscode v1.69 and shell integration enabled, there is now a built-in command to do this (for supported shells). Eanble the setting Terminal > Integrated > Shell Integration: Enabled Set a shortcut for the command Terminal: Run Recent Command from the Keyboard Shortcuts editor. You should end up with a keybinding like this (in your … Read more