Text - commandline

2006-05-16 Thread Meino Christian Cramer
Hi,

 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 ?

 kind regards,
 mcc


Re: Text - commandline

2006-05-16 Thread Pete Johns
On Tue, 2006-05-16 at 18:45:52 +0200, Meino Christian Cramer sent:
Hi,

 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 ?

:help c_CTRL-R

Hope this helps;


--paj
-- 
Pete Johns   http://johnsy.com/
Tel/Fax numbers and IM information   http://johnsy.com/contact/
Guy Kewney http://johnsy.com/20060515092823


pgp0v7M7PVfJS.pgp
Description: PGP signature


Re: Text - commandline

2006-05-16 Thread A.J.Mechelynck

Meino Christian Cramer wrote:

Hi,

 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 ?

 kind regards,
 mcc


  
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(.)



Best regards,
Tony


Re: Text - commandline

2006-05-16 Thread Thor Andreassen
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


Re: Text - commandline

2006-05-16 Thread Meino Christian Cramer
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