zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Steve Talley <stephen.talley@sun.com>, Zsh Users <zsh-users@sunsite.dk>
Subject: Re: vi-history-incremental-search?
Date: Fri, 30 Aug 2002 13:16:38 -0700	[thread overview]
Message-ID: <020830131638.ZM11370@candle.brasslantern.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0208301139560.23762-100000@scuzzy.blorf.net>

On Aug 30, 11:44am, Wayne Davison wrote:
> 
> Bart Schaefer wrote:
> > Even in emacs mode you can't exit from incremental search and then
> > resume the same search again later.
> 
> I'm not sure what you mean here.  Type Ctrl-R twice and it will start a
> new search with the previous search string.

Hrm, I swear I tried it in 4.0.6 and it didn't work.  But I just tried
again (with 4.0.3, I haven't upgraded the machines at work yet) and it
worked, so I must have flubbed something last night.

In that case, Steve can do:

function vi-repeat-incremental-search-backward {
 bindkey -e
 zle -U $'\C-r'
 zle history-incremental-search-backward
 bindkey -v
}
zle -N vi-repeat-incremental-search-backward
bindkey -a N vi-repeat-incremental-search-backward

(The "bindkey" commands shouldn't be necessary, but the keymap for h-i-s-b
is messed up when you enter it from vicmd.)


      reply	other threads:[~2002-08-30 20:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-29 20:49 vi-history-incremental-search? Steve Talley
2002-08-30  3:26 ` vi-history-incremental-search? Bart Schaefer
2002-08-30 18:44 ` vi-history-incremental-search? Wayne Davison
2002-08-30 20:16   ` Bart Schaefer [this message]

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=020830131638.ZM11370@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=stephen.talley@sun.com \
    --cc=zsh-users@sunsite.dk \
    /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).