What is the CTRL+x+e equivalent for MacOS's Terminal? In Ubuntu's (and other Linux systems) terminal, CTRL+x+e, which opens an editor to allow you to edit your command at leisure, with multiline support, and once you save and exit, it would return to terminal with the full command ready to execute.

I've tried the same combination in Terminal (both with Cmd and CTRL) and it didn't do anything.

Googling the combination + macOS just gave me random tutorials about useful keyboard shortcuts in terminal and in macOS in general.



Does anyone know of the equivalent key combination for the MacOS Terminal? Does it even exist?
Control+X+E works on the macOS Terminal. Generally CTRL is not substituted for Cmd in terminal commands.