nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [Request] allow deleting a marked region without affect


From: Brand Huntsman
Subject: Re: [Nano-devel] [Request] allow deleting a marked region without affecting the cutbuffer
Date: Mon, 15 Oct 2018 02:06:51 -0600

> Op 14-10-18 om 17:49 schreef David Ramsey:
> > So, in short, this function would kick in under three circumstances:
> > Backspace while marked, Delete while marked, and [other bound
> > key]?  And the third of these would not exist unless the user
> > specified it?  
> 
> Right.  (Plus the fourth circumstance, of course: the option is given:
> -Z, --zap, or 'set zap'.)

I'm going to assume you meant the first two circumstances only trigger when one 
of the three toggles is enabled.


> > I would have preferred "wipe", but David's argument against it
> > makes sense.  So "erase" is fine.  But, searching for a free
> > one-letter option brought -Z, and that made me think of "zap",
> > which might be even better.  
> 
> For the record, -Z/--zap works for me too.

I like zap too.

First patch adds the bindable "zap" function which now calls do_cut_text(). The 
second patch adds a zap nanorc toggle and -Z/--zap cli options to enable 
zapping with Bsp/Del.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]