From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@sunsite.dk
Subject: Re: vi mode and history-search key binding
Date: Sat, 27 May 2006 22:17:13 -0700 [thread overview]
Message-ID: <060527221713.ZM25658@torch.brasslantern.com> (raw)
In-Reply-To: <0CDE54A6-04FA-4821-A51D-26552316040A@chemistry.ucsc.edu>
On May 27, 8:39pm, William Scott wrote:
}
} bindkey '\e[A' vi-history-search-backward
} bindkey '\e[B' vi-history-search-forward
This binds those keys in the main keymap, which by default is the emacs
keymap. Have you somewhere earlier in your startup files executed a
"bindkey -v" command? If you did, then those bind keys in the viins
keymap (insert mode), not the vicmd keymap (command mode). In which
mode are you attempting to invoke the search?
} It appears to have no effect. Is this intended?
The effect you should see is that a quetion-mark (for backward) or slash
(for forward) prompt appears below the PS1 prompt; you then enter the
string to search for. If that doesn't happen, you've probably bound
the keys in the wrong keymap.
next prev parent reply other threads:[~2006-05-28 5:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-28 3:39 William Scott
2006-05-28 5:17 ` Bart Schaefer [this message]
2006-05-28 6:47 ` William Scott
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=060527221713.ZM25658@torch.brasslantern.com \
--to=schaefer@brasslantern.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).