[ale] Pattern substitution in VIM?

Robert Coggins ALE at CogginsNet.com
Mon Nov 3 15:47:05 EST 2003


:%s/0  1/1  0/g

This should work unless I am misunderstanding your question...

Mike Panetta wrote:

>Whats the easiest way to swap 2 space seperated items on a line in VIM?
>Like (0 1) -> (1 0)?  I am trying to write an eagle script file to generate a
>package and knowing how to do something like this in VIM would make my
>life much simpler :)
>
>Thanks,
>Mike
>
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale
>  
>



More information about the Ale mailing list