> Gary Johnson wrote: > I just recently enhanced it to work with multi-line patterns. > > vmap <silent> g/ y/<C-R>=substitute(escape(@", '\\/.*$^~[]'), '\n', '\\n', 'g')<CR><CR>
Works, Thank You. concatenating substitute() and escape() seems to be tricky. Joachim ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/