Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bindings
- X-seq: zsh-users 2602
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: dado <dado@xxxxxxx>, zsh users list <zsh-users@xxxxxxxxxxxxxx>
- Subject: Re: bindings
- Date: Wed, 15 Sep 1999 23:38:23 +0000
- In-reply-to: <37E0215B.43DF147F@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <37E0215B.43DF147F@xxxxxxx>
On Sep 15, 3:44pm, dado wrote:
> Subject: bindings
> How can I bind certain keys to zle (I think) motion commands?
I recently wrote a lengthy message about this. See
http://www.zsh.org/cgi-bin/mla/redirect?USERNUMBER=2550
> For instance, I want the END and HOME keys to move to the end and
> beggining of the command line, in either insert or command mode.
For insert mode, you want
bindkey -v ... beginning-of-line
bindkey -v ... end-of-line
and for command mode
bindkey -a ... beginning-of-line
bindkey -a ... end-of-line
replacing the "..." above with whatever your HOME and END keys send.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author