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
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
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
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
[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
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
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
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