Re: [bugs] Allow using :x instead of :wq
- Date: Mon, 22 Oct 2018 08:50:28 +0200
- From: Lars Henriksen <LarsHenriksen@xxxxxxxxxx>
- Subject: Re: [bugs] Allow using :x instead of :wq
On Mon, Oct 22, 2018 at 12:55:52AM -0400, Subramaniyam Raizada wrote:
> On 10/22/18 12:48 AM, Lukas Fleischer wrote:
> > It seems like auto save is not working with :q --- we should either fix
> > or document that. To me, it seems like a good idea to be able to exit
> > *without* making changes, even if auto save is enabled (in case you
> > screwed up). Not sure whether having :q do that is the best idea,
> > though.
> I think copying Vim a bit more may effective here, and shouldn't be too
> * :q! quits without saving
I vote for that.
> * :q says to use :q! or :wq instead if the file has been changed
Unless autosave is enable ("file" = on-screen contents) in which case it
should be honored.