nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] add a 'p' bind for findprevious in help and fil


From: Brand Huntsman
Subject: Re: [Nano-devel] [PATCH] add a 'p' bind for findprevious in help and file browser
Date: Thu, 30 Aug 2018 17:19:42 -0600

On Thu, 30 Aug 2018 20:04:14 +0200
Benno Schulenberg <address@hidden> wrote:

> Op 29-08-18 om 22:11 schreef Brand Huntsman:
> > Should 'p' be supported for findprevious in help and file browser?
> > It is logical to press 'n' for next and 'p' for previous, and 'p'
> > is easier to use than a shifted 'N'.  
> 
> Which file viewer or editor uses 'p' to find a previous occurrence?

Don't know, I made it up. I don't even use help or file browser, those keys 
were discovered while implementing the function interpolation patch.


> You see, 'n' and 'N' and '/' were added because that is what 'less'

Thanks, I've been using /+enter in less, 'n' will be so much easier.


> (But... now that one can start a backward search in a help text and
> in the file browser, maybe we should support '?' too -- what less and
> vim use to start a backward search?  But that would conflict with '?'
> in the file browser, which invokes the help text -- a behavior that
> we have inherited from Pico.)

Is starting a backward search in help really needed, how often would it be 
used? Find previous match is important if you over shoot. But starting a 
backward search only makes sense in the editor when you know that what you want 
is above cursor.


> nano uses ^P and ^N in several places for Previous and Next

That is a good reason.




reply via email to

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