Not too long ago I discovered
e) to pop open the command currently typed in your shell (bash and zsh; you may need to enable it in zsh) into your favourite text editor, whichever is set to
I wish I had discovered this long ago. With the power of Vim or other editors, it’s a breeze to compose complex, multi-line, or repetitive commands using your favourite editing tool. Writing and quitting in your editor fills in that command at your shell prompt.
Today came the logical leap to using this trick…