Any idea how to do rectangular cut & paste in VIM.
Desperately need your help.
Thanks,
Joe
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Regards,
George.
Hmmm... Could anybody tell me what 5, 6, 7, ... clicks means? I guess
somewhere along the way one have Mark-all-text-in-buffer? Maybe that's
aleph_0-clicks?
Regards,
Even Holen
beeing slightly sarchastic...
--
<>< Even Holen, ev...@pvv.ntnu.no, http://www.pvv.ntnu.no/~evenh/ :-)
I could swear that the last time I looked in the "VI Lover's Home Page",
there was a macro package plus program that one could use to make
rectungular selections of text in vi/m, but I cannot find it.
Sven??
-Brian
Use CTRL-v to highlight a rectangular block in vim. Then use delete (x)
and put (p) commands to do the cut and paste. This method is great for
swapping two columns of data, for example.
----Jon
Dixitque b...@rainey.blueneptune.com (brian hiles) in comp.editors:
>I could swear that the last time I looked in the "VI Lover's Home Page",
>there was a macro package plus program that one could use to make
>rectungular selections of text in vi/m, but I cannot find it.
There may have been, but in modern versions of Vim there's no need. From
normal mode, Ctrl-V starts a rectangular selection, just as V starts a
line-mode selection and v starts a character-mode selection.
(I may have the terminology a bit wrong, but you get the idea.)
--
There's no need to e-mail me a copy of a follow-up; but if you do,
please identify it as such.
Stan Brown, Oak Road Systems, Cleveland, Ohio, USA
http://www.mindspring.com/~brahms/
My reply address is correct as is. The courtesy of providing a correct
reply address is more important to me than time spent deleting spam.