Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Enhanced history-incremental-search



It's a lot of comments, the amount of code isn't actually too much!

On Wed, Aug 17, 2022 at 3:54 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
On Wed, Aug 17, 2022 at 3:00 PM Zach Riggle <zachriggle@xxxxxxxxx> wrote:
>
> I'm a big fan of history-substring-search, which lets you type any portion of a command and just hit ↑ and scroll through the matches.  No need for Ctrl+R keyboard combo, just arrow keys.
>
> https://github.com/zsh-users/zsh-history-substring-search

Wow, what a lot of code.  I think enabling isearch highlighting and
using my widget (duplicated to be able to search forward as well)
would cover 80% of this.  A couple of checks for whether to stick a ^
or a * at the front of the search pattern would cover another 10%.


Messages sorted by: Reverse Date, Date, Thread, Author