Hi Matt! On Fr, 19 Feb 2010, Matt Wozniski wrote:
> On Fri, Feb 19, 2010 at 12:46 PM, Christian Brabandt <[email protected]> > wrote: > > May be something like this works: > > :%s/foobar/\=printf("%s", foldlevel(".")?submatch(0):'foo')/ > > Better, > > :folddoopen s/foobar/foo/g Shoot! I knew :folddoopen, but didn't find it when I was looking for the exact command name. regards, Christian -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
