zsh-users
 help / color / mirror / code / Atom feed
From: Wayne Davison <wayned@users.sourceforge.net>
To: zsh-users@sunsite.dk
Subject: Re: Searching for "^" in the history
Date: Thu, 10 Feb 2005 10:08:00 -0800	[thread overview]
Message-ID: <20050210180800.GA1912@blorf.net> (raw)
In-Reply-To: <20050210141644.GA30487@ay.vinc17.org>

On Thu, Feb 10, 2005 at 03:16:44PM +0100, Vincent Lefevre wrote:
> How can one search for the character "^" in the history (with
> history-incremental-search-backward)?

The only way is to not put it as the first character in the search
string -- i.e. to search for the character prior to the "^" as well as
the "^" itself.  Yeah, that means that there is no way to search for
just a "^" in zsh's current code.  In the future it might be nice to
upgrade the incremental search to a regex-understanding search like vim
uses (it treats invalid regex elements as literal strings, so you can
eaily search for something like "[" or "$" without having to backslash
it).

..wayne..


  parent reply	other threads:[~2005-02-10 23:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-10 14:16 Vincent Lefevre
     [not found] ` <16907.30377.109401.427969@parhasard.net>
2005-02-10 15:22   ` Vincent Lefevre
2005-02-10 18:08 ` Wayne Davison [this message]
2005-02-11  0:09   ` 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=20050210180800.GA1912@blorf.net \
    --to=wayned@users.sourceforge.net \
    --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).