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

Re: Very useful !#^



antho.charles@xxxxxxxxx writes:

> On Fri, Aug 03, 2007 at 02:33:36PM +0100, Stephane Chazelas wrote:
> 
>> See <Ctrl-Alt>_ and <Alt>2<Ctrl-Alt>_
>> 
>> in emacs mode. That's the copy-prev-word widget.
>
> Yes, but copy-prev-word is different of !#^, try 
>
> cp verylongname.tex backup_!#^<tab>
> expands 
> cp verylongname.tex backup_verylongname.tex
>
> but 
> cp verylongname.tex backup_<C-M_>
> expands
> cp verylongname.tex backup_backup_ 
>
> Am I wrong?

That seems to be where <Alt>2<Ctrl-Alt>_ comes in.

~Tim
-- 
http://pig.sty.nu/
http://pig.sty.nu/Pictures/gallery/
http://scot-pics.sty.nu/



Messages sorted by: Reverse Date, Date, Thread, Author