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

Re: bindkey -v and alt-. for previous cmd arg



* 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