zsh-users
 help / color / mirror / code / Atom feed
From: Wayne Davison <wayned@users.sourceforge.net>
To: Simon Friedberger <simon+zsh@a-oben.org>
Cc: zsh-users@zsh.org
Subject: Re: Assorted questions
Date: Wed, 9 Jun 2010 12:50:11 -0700	[thread overview]
Message-ID: <AANLkTinn1uCEmyGX7TtvxoSt-vmZ4a7s9jZSdVfCzo-R@mail.gmail.com> (raw)
In-Reply-To: <20100608091256.GA21957@a-oben.org>

[-- Attachment #1: Type: text/plain, Size: 803 bytes --]

On Tue, Jun 8, 2010 at 2:12 AM, Simon Friedberger
<simon+zsh@a-oben.org<simon%2Bzsh@a-oben.org>
> wrote:
>
> This has several problems. For starters the first line fails with:
> "widgets can only be called when ZLE is active"
>

Yeah, I don't know how to use set-local-history outside of a zle key
binding.  I'd imagine that you could use zle -U str to push a keystroke that
runs "zle set-local-history 1", if you wanted to go to the trouble of
setting that up, though.  If there's a better way to do this, I haven't
learned it.

Then there seems to be a problem when repeatedly pressing ^r.


Yeah, so going that route is probably not going to be easy.  You'd probably
be better off re-binding all the various up-/down-line-or-history bindings
to use up-/down-line-or-local-history instead.

..wayne..

  reply	other threads:[~2010-06-09 20:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-05 19:23 Simon Friedberger
2010-06-07 16:44 ` Richard Hartmann
2010-06-07 16:50   ` Simon Friedberger
2010-06-07 17:11 ` Mikael Magnusson
2010-06-07 23:23 ` Wayne Davison
2010-06-08  9:12   ` Simon Friedberger
2010-06-09 19:50     ` Wayne Davison [this message]
     [not found]       ` <AANLkTimeIv_xV6qHnFUpHqjD3LmVJqY_r5IQJQGtaKjo@mail.gmail.com>
2010-06-10  6:41         ` Bart Schaefer
2010-06-09 11:40   ` zle set-local-history binding Was: " Simon Friedberger

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=AANLkTinn1uCEmyGX7TtvxoSt-vmZ4a7s9jZSdVfCzo-R@mail.gmail.com \
    --to=wayned@users.sourceforge.net \
    --cc=simon+zsh@a-oben.org \
    --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).