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\Enterjj^V/\/\/EOF\Enterkkf dA ^Cp Enter means Enter key ^V and ^C mean ctrl-V

Re: Vim test suite

2006-12-19 Thread A.J.Mechelynck
Nikola Knezevic wrote: On 18 Dec 2006, at 15:15 , A.J.Mechelynck wrote: What is your problem? After I compile Vim, if src/vim --version |more (on Unix-like systems) or src\vim --version |more (on Dos-like systems) src\gvim :version :q Thanks Tony. I don't have

RE: swapping three columns in a file..

2006-12-19 Thread sasikumar.kandhasamy
Hope following command is quite easy to manipulate, Mark the first line as mt, then use awk to swap the columns 't,. !awk '{print $3 $2 $1}' Thanks Regards, Sasikumar Kandhasamy Project Engineer Wipro Technologies Madivala-1|Bangalore. Mobile- +91-9986378586 | Phone: 30292842

[Feature Request] Vim should respond to WM_PASTE

2006-12-19 Thread Nikolai Weibull
It seems GVim doesn't respond to the WM_PASTE message on Windows. It would be really sweet if it did. I sadly have no intention of implementing this myself, but would appreciate it if this could be added to the TODO. Thanks. nikolai

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

Re: [Feature Request] Vim should respond to WM_PASTE

2006-12-19 Thread A.J.Mechelynck
Nikolai Weibull wrote: It seems GVim doesn't respond to the WM_PASTE message on Windows. It would be really sweet if it did. I sadly have no intention of implementing this myself, but would appreciate it if this could be added to the TODO. Thanks. nikolai Doesn't it already? Which

Re: [Feature Request] Vim should respond to WM_PASTE

2006-12-19 Thread Nikolai Weibull
On 12/19/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: It seems GVim doesn't respond to the WM_PASTE message on Windows. It would be really sweet if it did. I sadly have no intention of implementing this myself, but would appreciate it if this could be added to the

Re: [Feature Request] Vim should respond to WM_PASTE

2006-12-19 Thread A.J.Mechelynck
Nikolai Weibull wrote: On 12/19/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: It seems GVim doesn't respond to the WM_PASTE message on Windows. It would be really sweet if it did. I sadly have no intention of implementing this myself, but would appreciate it if