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

Re: Enhanced history-incremental-search



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