Did you try using the Pippo() function from foo.vim , as I suggested in my previous post?
http://www.vim.org/script.php?script_id=72 HTH --Benji Fisher On Thu, Jun 01, 2006 at 10:13:22AM +0530, SHANKAR R-R66203 wrote: > This is assuming that the each line has only one matching pattern. > After hit and trial I have used the macro to do that. > But want to have some cute solution. > > Regards, > Shankar
