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. > > Thank you so much, it is there and works great for me. I presume > documentation is pending on this?
Oh, it's not mentioned at ":help :abbr". I'll add something. -- hundred-and-one symptoms of being an internet addict: 222. You send more than 20 personal e-mails a day. /// 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 ///