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 wrote: > On Wed, Aug 17, 2022 at 3:00 PM Zach Riggle 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%. >