Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: New user questions
- X-seq: zsh-workers 10365
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: RE: New user questions
- Date: Fri, 31 Mar 2000 15:04:35 +0200 (MET DST)
- In-reply-to: "Andrej Borsenkow"'s message of Fri, 31 Mar 2000 16:39:55 +0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Andrej Borsenkow wrote:
> > BTW, I was fiddling with 'bindkey -R' but I was using things like
> >
> > bindkey -R "^A-^Z"
> >
> > An example in the manual would be nice.
> >
>
> Actually, -R flag is not described at all (I have dev-20 with a couple
> of patches).
It is, although not very clearly: (from mod_zle.yo)
xitem(tt(bindkey) [ var(options) ] tt(-l))
...
In the binding operations, if the tt(-R) option is used, the var(in-string)s
are interpreted as ranges, instead of plain strings. A valid range
consists of two characters, with an optional `tt(-)'
between them. All characters between the two specified, inclusive,
are bound as specified.
So I guess -R is one of the var(options).
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author