Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Expanding a global alias
- X-seq: zsh-users 11861
- From: Peter Stephenson <pws@xxxxxxx>
- To: zzapper <david@xxxxxxxxxx>
- Subject: Re: Expanding a global alias
- Date: Thu, 20 Sep 2007 15:57:39 +0100
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <Xns99B19ACD35D23zzappergmailcom@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <Xns99ADC90A1640Fzzappergmailcom@xxxxxxxxxxx> <237967ef0709161214j43bae920j297feb782a5ee678@xxxxxxxxxxxxxx> <Xns99B19ACD35D23zzappergmailcom@xxxxxxxxxxx>
zzapper wrote:
> "Mikael Magnusson" <mikachu@xxxxxxxxx> wrote in
> news:237967ef0709161214j43bae920j297feb782a5ee678@xxxxxxxxxxxxxx:
> > If you press ^Xa it should expand to the *(.om[1]) which you can then
> > tab expand. (that's ctrl-x a, not ctrl-x ctrl-a, if that happens to
> > not be a default binding it's _expand_alias).
>
> A lot of these control commands eg ^Xa are inoperative for me.
>
> Is that because:
> a) I need to enable them?
> b) I have vi compatible line editing set
> c) I'm on cygwin
> d) It was O.J.Simpson
A combination of a), b) and d). You've turned on vi mode and the way
you currently have things initialised you would need to add them by
hand; but if you hadn't been so busy worrying about O.J. Simpson, you
might have noticed that if you set vi mode before running compinit the
bindings will be there. In other words,
bindkey -v
autoload -U compinit
compinit
ought to make keys of that sort work.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author