Hacker News new | past | comments | ask | show | jobs | submit login

If you hit Control-X-E it will open whatever is set as $EDITOR in a temporary session you can paste your command in to. I'd recommend vim. You can even use vim to edit your command. Once you save and quit your command will be run.

The article mentions this but not the ^X^E shortcut.




Also `v` in command mode when your readline is in vi mode (set -o vi)




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: