From: Thor Andreassen <[EMAIL PROTECTED]>
Subject: Re: Text -> commandline
Date: Tue, 16 May 2006 22:45:30 +0200

Hi,

 The yank-trick (first yank the stuff, then CTRL-R" in the commandline
 fits currently my needs best.

 Thanks a lot!

 mcc


> On Tue, May 16, 2006 at 07:12:01PM +0200, A.J.Mechelynck wrote:
> > Meino Christian Cramer wrote:
> > > for what keyword I have to look in the online-help to find a hint
> > > how to copy any text from a buffer as any part of a command currently
> > > being edited in the commandline ?
> > >
> > If by "buffer" you mean what the Vim docs call a "register", see ":help 
> > c_CTRL-R".
> > 
> > If you mean part of a file being edited, IMHO the easiest way is to yank 
> > it beforehand into a register, though in some cases you can use the 
> > expression register (Ctrl-R =) with e.g. expressions such as getline(".")
>  
> For shortcuts to inserting files and words on the commandline see the
> section described here:
> 
> :help c_<C-R>_<C-F>
> 
> -- 
> with kind regards
> Thor Andreassen
> 

Reply via email to