Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bindkey intro?
- X-seq: zsh-users 1026
- From: fk5a005@xxxxxxxxxxxxxxxxxx (Matthias Kopfermann)
- To: sweth@xxxxxxxxxxxxxxxxxx (chutzpah)
- Subject: Re: bindkey intro?
- Date: Fri, 26 Sep 1997 10:07:40 +0200 (DFT)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <v0311077eb050f51beed5@[208.135.210.91]> from "chutzpah" at Sep 26, 97 01:27:04 am
> i would
> like to be able to map the control+(left arrow) and control+(right arrow)
> keys to the sequences "ESC-b" and "ESC-w", respectively (so that, with
> VISUAL set to 'vi', they move the cursor one word to the left/right.
> so where would i go about figuring out how to do this in bindkey? is
> there a faq? i couldn't find a man page, though that could just be the
> fault of the poor man pages on my server.
i don't know how to do that in command -mode, i can only try to do it
in vi-insert-mode.
bindkey -s "control-v and then control( pressed" "control-v ESC pressed then b"
control-v is for quoting ESC in ed/sed/vi thinking.
my question is, can i map commands to the so called
command-mode or is it only possible in insert-mode for bindkey -v
?
--
Matthias
(this message came from Hamburg/Germany)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author