zsh-users
 help / color / mirror / code / Atom feed
* missing features for bindkey -v: @
@ 1997-10-09  9:20 Matthias Kopfermann
  1997-10-09 12:40 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Kopfermann @ 1997-10-09  9:20 UTC (permalink / raw)
  To: zsh-users

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.

the ksh has it, the pdksh has it.
the zsh should have it!

also i miss the ability to record in emacs-mode with control-x (

besides the zsh is still a killer shell of course!
-- 
Matthias

(this message came from Hamburg/Germany)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: missing features for bindkey -v: @
  1997-10-09  9:20 missing features for bindkey -v: @ Matthias Kopfermann
@ 1997-10-09 12:40 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 1997-10-09 12:40 UTC (permalink / raw)
  To: Matthias Kopfermann, Zsh users list

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@ifh.de>       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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-10-09 13:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-09  9:20 missing features for bindkey -v: @ Matthias Kopfermann
1997-10-09 12:40 ` Peter Stephenson

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).