the.dude wrote:
> i want to swap words in the following way. original text is
> 
> a = b
> daf = dfgdf
> a+b*c = d+e*f
> ab(bc)+{adf} = dfdsf+343=fdf
> 
> i want to modify the above text as
> 
> b = a
> dfgdf = daf
> d+e*f = a+b*c
> dfdsf+343=fdf = ab(bc)+{adf}

Try these tips:
http://vim.wikia.com/wiki/Swap_LHS_and_RHS_of_an_Assignment_statement
http://vim.wikia.com/wiki/Exchanging_adjacent_words
http://vim.wikia.com/wiki/Swapping_characters%2C_words_and_lines

John


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to