why hard exit editor? Nano say at bottom.

https://lemmy.world/post/43888601

Just use ed.

Ctrl+C. Easy.

bash: ed: command not found
WHERE GOD NOW?

What sins have you committed on your system to remove ed?
using arch, btw
actually using debian btw