zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zach Riggle <zachriggle@gmail.com>
Cc: dominik.vogt@gmx.de, Zsh Users <zsh-users@zsh.org>
Subject: Re: Enhanced history-incremental-search
Date: Wed, 17 Aug 2022 15:54:47 -0700	[thread overview]
Message-ID: <CAH+w=7arn+5zcvciW=uR_iPq-wX0frhEGp9gnBA5BsX3zZ1-5g@mail.gmail.com> (raw)
In-Reply-To: <CAMP9c5n-X5qtZiUBF2UpGUjN-cAu6d2Vcu9yjAhj7LF6chXXhw@mail.gmail.com>

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


  reply	other threads:[~2022-08-17 22:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-16 10:41 Dominik Vogt
2022-08-16 20:27 ` Bart Schaefer
2022-08-17  9:23   ` Dominik Vogt
2022-08-17 22:00     ` Zach Riggle
2022-08-17 22:54       ` Bart Schaefer [this message]
2022-08-19  1:36         ` Zach Riggle
2022-09-02 12:32       ` Vincent Lefevre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7arn+5zcvciW=uR_iPq-wX0frhEGp9gnBA5BsX3zZ1-5g@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=dominik.vogt@gmx.de \
    --cc=zachriggle@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).