3 ms·
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
by zests 6y ago
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.
- mjsir911 6y agoAlso `v` in command mode when your readline is in vi mode (set -o vi)