Re: exit without saving
Benno Schulenberg <bensberg <at> justemail.net>
2015-11-13 09:50:25 GMT
Thanks for your feature suggestion.
On Fri, Nov 13, 2015, at 08:11, Mike Brown wrote:
> Feature request:
> Meta-T - toggle -t / --tempfile command line option
Unfortunately, Meta-T is already taken. Also, I don't like the
idea of having a toggle for this: if someone, during furious
typing, accidentally toggles this on without noticing, then
decides to discard the changes with ^X N, types ^X...
> At the write file prompt, allow a control key to exit
> without saving, e.g. ^X or ^Y.
Yes, I like that one. I wouldn't use ^X though (too close
to ^C, too easy to discard the file when you just meant to
cancel the save), nor ^Y (feels too much like "Yes, save").
I was thinking of ^Q (Quit), but sounds too much like quitting
the entire program. ^A (Abandon), ^D (Discard), ^K (Kill-it)
are already used for editing the filename. So I would suggest
^R (Reject, Rubbish) or ^J (Junk-it).
> The goal is to make it easier to exit a 'nano -t' session without saving,