[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
Re: [Nano-devel] [PATCH] add a 'p' bind for findprevious in help and file browser
Thu, 30 Aug 2018 20:04:14 +0200
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
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?
You see, 'n' and 'N' and '/' were added because that is what 'less'
and 'vim' use to search the next and previous occurrence, and to
start a search.
(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.)
For English speakers, it may be logical to use p and n for previous
and next, but not for speakers of most other languages. But... since
nano uses ^P and ^N in several places for Previous and Next, maybe
adding p for findprevious to match n for findnext is not such a bad
Description: OpenPGP digital signature