Usually I use
nano editor but with
-t (--tempfile) Always save changed buffer without prompting. Same as Pico’s -t option.
It just doesn't ask me about saving yes/no and save to this file or another one.
So, it won't ask when I going to exit. But when this file is
readonly I couldn't find a way to exit excepting save this file in different path.
Is there any way to exit without saving?