Just inadvertently discovered that C-q, at least under my zsh setup, invokes a handy command line stashing feature: it deletes the currently entered command and let’s you type another command, and then once the second command has executed, the original input reappears ready to be used. This is so much cleaner than opening up a fresh terminal just to run git status or something.

It stacks too: if you type one command and pretty C-q, another and then press C-q, and then a third which you execute, once the third is done you’ll have the second waiting in your input, and if you press enter, once that is done, you’ll have your very first command back ready for editing in the input.