Hacker News new | ask | show | jobs
by mftb 1806 days ago
man bash, and search for, 'edit-and-execute-command', to launch a configurable editor for long commands.

zsh has a similar facility.