Thursday, August 27, 2015

Re: clearing plugin augroup

2015-08-28 6:50 GMT+03:00 Josef Fortier <josef.fortier@gmail.com>:
> I'm trying to clear augroup events from a plugin that's useful, but has some annoying event bindings.
>
> I can run autocmd! GROUP_NAME interactively, but when I try to do this in my .vimrc (or a local .vimrc) I get the error
> E367: No such group:
>
> I'm sure there's some arcane load ordering thing here, but it escapes me. I've tried:
>
> * putting the augroup at the end of my .vimrc
> * in a directory local .vimrc (I've enabled exrc)
>
> Any advice?

Put it into ~/.vim/after/plugin/name.vim. And read :h initialization.

>
> --
> --
> 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 because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
--
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 because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: