Terminal: Run recent command
Use the Terminal: Run Recent
command to browse through the commands you’ve run in VS Code’s integrated terminal.
Click to run the command again or hold alt/option to insert the command text so you can edit it before running.
This can be use a useful supplement to your shell’s built-in command history.