Sorry I didn't realize. I thought it was a placeholder for the buffer name
and the documentation isn't clear enough to refer to. Anyway, I've tried
that command and it works! Am I going to have to run this after opening
every buffer though? I've create an autocmd ("autocmd BufEnter * abc
<buffer>" for those finding this post from search engines) as a starting
point but it would be nice to have a mode, no?On Tue, Jun 7, 2011 at 2:07 PM, ZyX <[email protected]> wrote: > Reply to message «Re: Unable to clear abbreviations», > sent 21:59:29 07 June 2011, Tuesday > by Uri Moszkowicz: > > > :abc a.groovy => "E474: Invalid argument" > WTF is «a.groovy» doing after abclear? You are supposed to type > :abc <buffer> > where <buffer> is «<buffer>» typed *literally*. It is not a placeholder for > buffer name. > > > :abc "a.groovy" > It is equivalent to plain > :abc > because `"' here starts a comment. > > Original message: > > vi a.groovy > > type: "a.pl ", which vi converts to "a.println " > > > > :abc > > > > repeat experiment => still replaced > > > > :abc a.groovy => "E474: Invalid argument" > > :abc "a.groovy" > > > > repeat experiment => still replaced > > > > On Tue, Jun 7, 2011 at 1:32 PM, Christian Brabandt <[email protected] > >wrote: > > > Hi Uri! > > > > > > On Di, 07 Jun 2011, Uri Moszkowicz wrote: > > > > Ok so I figured out that the buffer name needs to be in quotes and > the > > > > command is now accepted. > > > > > > No. You should use the string <buffer> literally from within the buffer > > > in which those abbreviations are defined. > > > > > > > However, it was not effective at solving the > > > > problem. Should I file a bug report? > > > > > > Please show exactly what you did, what you expected and what the result > > > was, before filling bug reports. > > > > > > > On Tue, Jun 7, 2011 at 11:48 AM, Christian Brabandt > > > > > > Please don't top poste. > > > > > > regards, > > > Christian > > > > > > -- > > > 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 > -- 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
