Hi,

Can you use the position of a word in a search and replace as an argument

For example

if the line has the word INPUT in it, then the last word should have
() around it

So:

start:     INPUT s1 , s2
            INPUT s3 , s4

must become

start:     INPUT s1 , (s2)
            INPUT s3 , (s4)


Rgds,
Jeri

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

Reply via email to