Search code examples
editor

How to leave this editor?


I am on a production server and when I was pulling the latest commit an editor opend showing me this:

enter image description here

I managed to open the help screen but its not explained how to exit this editor. Also I cannot find which editor it is, so I cant simply google it.

I tried ESC + :q but this did not work. In fact after pressing ESC and hitting any button text is added to the file.

Only thing I found out so far is that hitting ESC + CTRL + X adds a new line command: enter image description here I tried :q , exit , quit , ' close but they are all not known commands. How can I leave this editor?


Solution

  • IT was "joe's" editor. I could leave it with ctrl+k + q. See here