Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: bindkey intro?



> 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