Those are possible workarounds but I don't know why you say "another option"
when none of those actually disables abbreviations. The first disables
abbreviations and more. As to the second, can you guarantee that no plugin
which ships with Vim defines abbreviations? Even so, "not installing plugins
with abbreviations" is definitely different than "disable abbreviations".
Also, you may want the other aspects of the plugin. The third option results
in deletion, not disablement, of the abbreviations, not to mention that it's
not obvious to any but those intimately familiar with Vim internals. Someone
has yet to explain why ":abc <buffer>" works but ":abc" does not. Option (1)
is similarly not obvious.

At a minimum, if option (1) or (3) is your preferred workaround then it
could be documented in the abbreviations section of the help page. I was
surprised given the number of other "no*" options that exist not to find a
"noabr" option and it seems inconsistent to me. autoindent is another
similar modify as you type feature which does have a "no" mode for example.

On Wed, Jun 8, 2011 at 6:00 PM, Ben Fritz <[email protected]> wrote:

> > I don't think, another option for disabling abbreviations is actually
> > useful.
> >
>
> I think that another option for disabling abbreviations is definitely
> not useful. I think the proper solutions are:
> 1. Temporarily set the 'paste' option. Maybe even write a command
> which sets it and then mitigates some of the side effects.
> 2. Don't set up the abbreviations in the first place, or don't install
> plugins which define them
> 3. Put an 'after' plugin or an autocmd in to undo the abbreviations
> you don't like from plugins which don't have an option to disable them

-- 
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