Are you block selecting all the text you want to replace? If you block
select the text you want to replace and then paste over it, everything
should work fine...

Max

> -----Original Message-----
> From: Eddine [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 20, 2006 10:00 AM
> To: Vim Mailing List
> Cc: Max Dyckhoff
> Subject: Re: Pasting a vertical selection.
> 
> Fisrt of all thank you Max for your quick answer.
> 
> This solution, doesn't seem to work, when I try to paset with "p" over
> my selection, instead of replacing with the values of my new column,
> vim insert it...
> I have the feeling I should type a command such withc would be a mix
> of vertical-selction-"R"-and-"p"...
> 
> 2006/6/20, Max Dyckhoff <[EMAIL PROTECTED]>:
> > 1. Use Ctrl-V and the arrow keys to block select the text that you
want
> > to paste.
> > 2. Yank the text with y.
> > 3. Block select the text that you want to replace.
> > 4. Paste over the selection with the text you copied by pressing p.
> >
> > Of course if the text you copy in is a different number of lines
then it
> > won't work properly, but otherwise you should be happy!
> >
> > Max

Reply via email to