Hari Krishna Dara wrote: > In Vim7, I see that maps can now have <expr> argument to indicate that > the RHS is an expression that should be evaluated. I think this is cool, > and though I don't have a need yet, I am pretty sure it will come to > good use soon. But meanwhile, I think the same should be extended to > abbreviations too. I know you can already use <C-R>= for the same, but > the <expr> method is going to be useful specifically for the cabbr case. > Currently if you need to define a cabbr that uses the <C-R>= construct > to evaluate an expression, this causes trouble when typing the > abbreviation (even if it is accidental) at the expression register > prompt.
Did you try it? It should already work. -- hundred-and-one symptoms of being an internet addict: 195. Your cat has its own home page. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://www.ICCF.nl ///