Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bindkey -v and alt-. for previous cmd arg
- X-seq: zsh-users 8153
- From: Nick Croft <nicko@xxxxxxxxxxx>
- To: DervishD <zsh@xxxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Subject: Re: bindkey -v and alt-. for previous cmd arg
- Date: Thu, 4 Nov 2004 06:44:44 +1100
- In-reply-to: <20041103135335.GB22247@DervishD>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organisation: Theme and Variations
- References: <20041103124858.GA1476@xxxxxxxx> <20041103135335.GB22247@DervishD>
* DervishD (zsh@xxxxxxxxxxxx) ha dicho:
>
> I don't use zsh 4.2.x yet, but it seems that your problem is that
> 'Alt-.' is no longer bound in the 'viins' keymap. Do it yourself:
>
> bindkey -m viins '\e.' insert-last-word
>
> Note that I've used 'Esc-.' instead of 'Alt-.' because I don't
> know how to bind Alt sequences :? In fact, 'insert-last-word' is
> bound to 'Esc-.' by default in 4.0.9
>
> Hope this helps.
>
Thanks Raúl -
That DID help. Actually zsh didn't accept so many arguments, so
I used "bindkey '\e.' insert-last-word". This seems to allow the widget to
be used with alt as well.
Back to work now! Great.
Nick
--
/* _\|/_
(o o)
+----oOO-{_}-OOo------------------------------+
|Piano Technician - Theme & Variations, Sydney|
+--------------------------------------------*/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author