I tried to use one of my Git aliases and accidentally opened the mg
editor. I tried a lof of different keys and nothing seemed to close it. I eventually just used ctrlz to to send it to the background and then killed it with kill %1
.
After that I went to check the manpages https://linux.die.net/man/1/mg, but the only quit related commands don't seem to do much:
C-g' keyboard-quit
C-x C-g' keyboard-quit
I'm probably missing something obvious, but how can it be closed?