Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: missing features for bindkey -v: @
- X-seq: zsh-users 1067
- From: Peter Stephenson <pws@xxxxxx>
- To: Matthias Kopfermann <fk5a005@xxxxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxxx (Zsh users list)
- Subject: Re: missing features for bindkey -v: @
- Date: Thu, 09 Oct 1997 14:40:46 +0200
- In-reply-to: "Matthias Kopfermann"'s message of "Thu, 09 Oct 1997 11:20:27 MET." <199710090920.LAA17778@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Matthias Kopfermann wrote:
> i wrote it before but no reply.
> it seems i am the only one who misses the ability to
> call macros like one normally does in vi with @.
>
> again:
>
> this macros begin with _ and a letter.
You don't need it, you can do it directly.
bindkey -s -M vicmd @a 'ai am interpreted as input\e'
^^^^^^^^
this is the new (3.1) syntax for binding in vi command mode
else use -a after bindkey -v.
It's not hard to implement a vi-call-alias command as a module, but
the above seems much simpler.
--
Peter Stephenson <pws@xxxxxx> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413
Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, Platanenallee 6, 15738 Zeuthen, Germany.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author