Dear all, Based on Mike and Ted's examples, I'm trying my first "slightly intricate" (for me) mapping: I want a mapping to replace selected existing "(expression)" and "[expression]" in math mode by "\left(expression\right)" and "`\left[expression\right]", respecitvely.
So far, I've come to the follownig visualmode macro, which, once I've selected an inner block with, say, vib, adds the \left and \right. I feel it is unelegant (not robust, not multiline, ugly <C-O>, etc etc), but I can't figure a nicer way with my limited vim knowledge... vmap jus "zdi\right<C-O>2b\left<C-O>p<Esc> Any feedback appreciated ! (no emergency, though) Thanks :) Julien ------------------------------------------------------------------------------ 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