zsh-users
 help / color / mirror / code / Atom feed
* @ in bindkey -v and control-x ( in bindkey -e
@ 1997-10-10  9:58 fk5a005
  1997-10-10 10:06 ` fk5a005
  0 siblings, 1 reply; 4+ messages in thread
From: fk5a005 @ 1997-10-10  9:58 UTC (permalink / raw)
  To: zsh usersgroup

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:

such macros begin with _ and a letter.
they are aliases that start like this:
alias _a='ithis is a test^[hhh'

now, if i do a @a the following would happen.

the shell would change to input-mode in the bindkey -v mode.
would right "this is a test to the shell" (absolute nonsense, of course!)
and then change to command-mode and step back 3 letters.

that is one command that is useful and i think, it has been forgotten.
 (most people use the emacs-mode)

the other thing that is really useful and is implemented in the
bash (i think, ksh and pdksh, too)
is 
control-x (

this starts a macro in emacs-mode.
this macro is stopped with control-x ) and executed with control-x e.

this is missing , too.

the zsh should have it!


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

(this message came from Hamburg/Germany)











-- 
Matthias

(this message came from Hamburg/Germany)

wwwwwwwww email-alias: kopf@rrz.uni-hamburg.de wwwwwwwwwwwwww
http://www.dowco.com/cmd/matthias/jv-1080.html
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww


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

* Re: @ in bindkey -v and control-x ( in bindkey -e
  1997-10-10  9:58 @ in bindkey -v and control-x ( in bindkey -e fk5a005
@ 1997-10-10 10:06 ` fk5a005
  1997-10-10 10:14   ` Peter Stephenson
  0 siblings, 1 reply; 4+ messages in thread
From: fk5a005 @ 1997-10-10 10:06 UTC (permalink / raw)
  To: fk5a005; +Cc: zsh-users

thanks peter, for answering the question about the ability
to do what i want in 3.1

i still use 3.0 so i have to wait for 3.1 to be released.

the other thing that i am missing is control-x ( as i wrote before.

sorry for posting my questions again. i thought, they did not reach
the list and i am getting so much mail that i missed peters nice
answer at first sight!

by the way, i am planning to do a german zsh-page which does describe
the beauty of the zsh to germans.

i hope that will advertize for good.
the zsh does not get too much advertizing.
i really don't know why that is.
but it really, really deserves it!

 thans to the fine authors and all programmers involved in making
 unix-life much, much more fun!

-- 
Matthias

(this message came from Hamburg/Germany)


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

* Re: @ in bindkey -v and control-x ( in bindkey -e
  1997-10-10 10:06 ` fk5a005
@ 1997-10-10 10:14   ` Peter Stephenson
  1997-10-10 10:29     ` fk5a005
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Stephenson @ 1997-10-10 10:14 UTC (permalink / raw)
  To: fk5a005, Zsh users list

fk5a005@rrz.uni-hamburg.de wrote:
> thanks peter, for answering the question about the ability
> to do what i want in 3.1

You don't need 3.1, I just happened to write it that way because I find
the syntax clearer.  There's no problem with

bindkey -s -a @a 'input string'

in any version of zsh; the `alternate' keymap turns out to be the vi
command mode one whatever editing mode you're in.

-- 
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] 4+ messages in thread

* Re: @ in bindkey -v and control-x ( in bindkey -e
  1997-10-10 10:14   ` Peter Stephenson
@ 1997-10-10 10:29     ` fk5a005
  0 siblings, 0 replies; 4+ messages in thread
From: fk5a005 @ 1997-10-10 10:29 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: fk5a005, zsh-users

bindkey -s -a @a 'input string^[hhh'

this does satisfy me, my problem is solved.

perhaps control-x ( would still be cool, i don't know.

hey, the zsh is just so cool :)

-- 
Matthias

(this message came from Hamburg/Germany)


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

end of thread, other threads:[~1997-10-10 11:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-10  9:58 @ in bindkey -v and control-x ( in bindkey -e fk5a005
1997-10-10 10:06 ` fk5a005
1997-10-10 10:14   ` Peter Stephenson
1997-10-10 10:29     ` fk5a005

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