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

Re: Very useful !#^



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?
-- 
Anthony CHARLES



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