Re: Pasting a vertical selection.

2006-06-20 Thread Hari Krishna Dara
On Tue, 20 Jun 2006 at 11:51am, Tim Chase wrote: > > I have to correct some datafiles, and I need to paste a column > > in the middle of my text file to replace the older column > > which contain bad values. > > > > How can I do that ? > [cut] > > Hope I have been clear enough, > > Yes, that is f

RE: Pasting a vertical selection.

2006-06-20 Thread Max Dyckhoff
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 o

Re: Pasting a vertical selection.

2006-06-20 Thread Eddine
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-

Re: Pasting a vertical selection.

2006-06-20 Thread Tim Chase
I have to correct some datafiles, and I need to paste a column in the middle of my text file to replace the older column which contain bad values. How can I do that ? [cut] Hope I have been clear enough, Yes, that is fairly clear. Vim supports block-wise pasting. However, last I checked (vi

RE: Pasting a vertical selection.

2006-06-20 Thread Max Dyckhoff
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