Hello Vimmers,
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 ? Just to illustrate my question, I would like to
paste in Vim a column the same way you would do on a speadsheet
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
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
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
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 fairly clear.
from
visual mode
Gerald Lai wrote:
On Thu, 18 May 2006, John Love-Jensen wrote:
Hi Eddine,
Is it possible to make a vertical selection in a text, to have a
rectangular selection in the text ?
If so, how ?
Yes, you are looking for the Visual mode blockwise.
^V to initiate Visual mode
On Fri, May 19, 2006 at 10:34:27AM +0200, Robert Cussons wrote:
Hi guys,
I knew about the Ctrl-V with I command, but have never used it with A.
So out of interest I just tried it, but it appends at the next point in
front of the cursor, not at the end of the line, as I expected A to act,
Thanks for the tip Benji, just to make the difference between 'I' and
'A' in blockwise visual mode clear to anyone else who might be reading
this and doesn't know, 'I' will always insert in the position
immediately before the selected block, whilst 'A' will always insert in
the position
Robert Cussons wrote:
... as Benji said, pressing '$' followed by 'A' whilst in
blockwise visual mode will insert at the end of each line.
Sorry if no-one else cares:-)
Well, I knew about I and A, but $A was news to me! Thanks.
--Suresh
Hi all,
Is it possible to make a vertical selection in a text, to have a
rectangular selection in the text ?
If so, how ?
thank you,
best regads.
Eddine
Hi,
Baha-Eddine MOKADEM wrote:
Is it possible to make a vertical selection in a text, to have a
rectangular selection in the text ?
If so, how ?
:help ctrl-v
Regards,
Jürgen
--
Jürgen Krämer Softwareentwicklung
HABEL GmbH Co. KG
On Thu, 18 May 2006, John Love-Jensen wrote:
Hi Eddine,
Is it possible to make a vertical selection in a text, to have a
rectangular selection in the text ?
If so, how ?
Yes, you are looking for the Visual mode blockwise.
^V to initiate Visual mode blockwise.
Use movement keys to get
: Vertical selection
Once again, Victor, Gerald, Eljay and J?rgen thank for all of you !!!
It's a real pleasure to get quick and precise responses.
Thank you again.
Eddine
Baha-Eddine MOKADEM wrote:
Is it possible to make a vertical selection in a text, to have a
rectangular selection in the text ?
If so, how ?
In addition to the ctrl-v answer: vis.vim, available at
http://vim.sourceforge.net/scripts/script.php?script_id=1195 ,
allows one to apply any Ex
14 matches
Mail list logo