>> :s/(\([^)]\+\))/\\left(\1\\right)/g > > I suppose that wouldn't work if the (expression) had a line break in the > middle of it... e.g.,
Yes indeed, that would fail. But, to be honest, it comes as a complete surprise to me that vib is multiline !! (I only checked as you mentionned the pb) Julien PS: Sorry Ted for the double post ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel