Hi all, I'm looking for a way to use regular expressions in abbreviations.  For 
example,

    :iab \([0-9]\{-}\)nm \\SI{\1}{\\nano\\meter}

would would expand every instance of, '50nm' to '\SI{50}{\nano\meter}'.  Is 
this possible?  It's been suggested to imap a regular function, but this is not 
so satisfying.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to