From: "Jérémie Roquet" <arkanosis@gmail.com>
To: zsh-users@zsh.org
Cc: nix@myproxylists.com
Subject: Re: ZSH's way to bind function to a key in a script?
Date: Wed, 9 Mar 2011 15:05:03 +0100 [thread overview]
Message-ID: <AANLkTinT6QJ-K_G8EVpz+8rSyJsjrd+V8f5Gc9n4RQxk@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikuzpSBtnCS0fWxQFDerbPX=pMqnR2JS15QTr25@mail.gmail.com>
2011/3/9 Jérémie Roquet <arkanosis@gmail.com>:
> zle -N foo
> bindkey ' ' foo
Or
bindkey -s ' ' 'foo\n'
…if you just want to emulate an user input.
--
Jérémie
next prev parent reply other threads:[~2011-03-09 14:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-09 13:46 nix
2011-03-09 14:01 ` Jérémie Roquet
2011-03-09 14:05 ` Jérémie Roquet [this message]
[not found] ` <34287570baba3024c8cffea8be3da248.squirrel@gameframe.net>
2011-03-09 14:35 ` Jérémie Roquet
2011-03-10 0:22 ` Wendell Hom
2011-03-09 14:11 ` Peter Stephenson
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=AANLkTinT6QJ-K_G8EVpz+8rSyJsjrd+V8f5Gc9n4RQxk@mail.gmail.com \
--to=arkanosis@gmail.com \
--cc=nix@myproxylists.com \
--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).