Re: swapping three columns in a file..

2006-12-19 Thread Charles E Campbell Jr
[EMAIL PROTECTED] wrote: How to swap the three columns in file without using substitute command? Let us say file with the following contents, A1 B1 C1 A2 B2 C2 Then after swapping the file content should be, C1 A1 B1 C2 A2 B2 There's visswap, which you can get from http://m

RE: swapping three columns in a file..

2006-12-19 Thread sasikumar.kandhasamy
CE PROVIDER) Cc: Vim development list Subject: Re: swapping three columns in a file.. > How to swap the three columns in file without using substitute > command? Hi, I don't understand why you can't use :s so I don't know if the following solution would be usable for yo

Re: swapping three columns in a file..

2006-12-19 Thread Milan Vancura
> How to swap the three columns in file without using substitute > command? Hi, I don't understand why you can't use :s so I don't know if the following solution would be usable for you. defining: qq/\/\/BOF\>jj^V/\/\/EOF\>kkf dA ^Cp means Enter key ^V and ^C mean ctrl-V and ctrl-C u

swapping three columns in a file..

2006-12-18 Thread sasikumar.kandhasamy
Hi All, How to swap the three columns in file without using substitute command? Let us say file with the following contents, //BOF A1 B1 C1 A2 B2 C2 //EOF. Then after swapping the file content should be, //BOF C1 A1 B1 C2 A2 B2 //EOF Thanks & Regards, Sasikumar Kandhasamy Pro