Re: [bugs] Allow using :x instead of :wq
- Date: Mon, 22 Oct 2018 00:03:18 +0200
- From: Lars Henriksen <LarsHenriksen@xxxxxxxxxx>
- Subject: Re: [bugs] Allow using :x instead of :wq
On Sun, Oct 21, 2018 at 08:23:03PM +0200, Lukas Fleischer wrote:
> On Sun, 21 Oct 2018 at 07:46:20, Subramaniyam Raizada wrote:
> > This is a simple bug fix for Calcurse.
> > In Vim, the :x command is the same* as :wq, and while Calcurse
> > implements :wq, it doesn't recognize :x and an 'unrecognized command'
> > error message pops up if :x is used.
> > This patch just makes :x the same as :wq.
> I'd probably not call this a "bug fix" but the idea seems fine to me.
I'm wondering why. The generic command (:) to me looks like a deprecated
interface that is neither documented nor maintained and should be removed.
As an example, if you have changed several items and then leave calcurse
with ':q', your work is lost.
The few supported actions (quit, save and help) are better done with the