I dont think this can be done as vim doesnt have 'vi' command line editing,
it's emacs style only. Ie, you can 'esc' and then $ to end of line or 0 to start of 
line ...

on Wed, Mar 27, 2002 at 04:44:47PM +1100, Nick Croft <[EMAIL PROTECTED]> wrote:
> Afternoon,
> 
> Can anyone help me with a vim technique for pasting a pattern into the
> command line. Specifically I'd like to yank a pattern and copy it in to
> a substitute command, e.g.
> 
>               :s/pattern/substitute/
> 
> I've searched the vim-tips db, and looked through the user manual in
> /usr/share/doc/vim/html.
> 
> Any ideas?
> 
> Thanks,
> 
> Nick
> 
> -- 
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to