zsh-users
 help / color / mirror / code / Atom feed
From: Wayne Davison <wayned@users.sourceforge.net>
To: Steve Talley <stephen.talley@sun.com>
Cc: Zsh Users <zsh-users@sunsite.dk>
Subject: Re: vi-history-incremental-search?
Date: Fri, 30 Aug 2002 11:44:06 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0208301139560.23762-100000@scuzzy.blorf.net> (raw)
In-Reply-To: <20020829204918.GE9260@.central.sun.com>

On Thu, 29 Aug 2002, Steve Talley wrote:
> When I use vi-history-search-backward to search for "foo" (matched at
> 102), I can use "n" (vi-repeat-search) to perform the same search
> again (matched at 100).  But if I initially use
> history-incremental-search-backward to search for "foo", then "n"
> (vi-repeat-search) doesn't continue the search for "foo".

The easiest solution would probably be to change the two functions to
use the same last-search variable instead of two different ones.  The
only downside to this is if someone out there uses both search functions
and enjoys having a different search default in each one.  I personally
see no problem with combining them.

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.

..wayne..


  parent reply	other threads:[~2002-08-30 18:47 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 ` Wayne Davison [this message]
2002-08-30 20:16   ` vi-history-incremental-search? Bart Schaefer

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=Pine.LNX.4.44.0208301139560.23762-100000@scuzzy.blorf.net \
    --to=wayned@users.sourceforge.net \
    --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).