I know that I can navigate through previous commands using the up & down arrow keys, making it easy to re-run an earlier line of code. However if I want to re-run multiple sequential commands I need to navigate back with the arrow keys for each line, which can get kind of cumbersome if I have entered many lines of code in between.
In Windows Command Prompt, one you have navigated back to a previous line of code & pressed enter to re-run it, you can simply press the down arrow key to get to the line which followed the original command. This makes it easy to run a sequence of commands from earlier in the session.
I know the Mac Terminal has lots of nice features & hotkeys so surely there must be some way to accomplish this?