Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option for disabling plugins using local config ~/.vimrc.plugins #13

Closed
timss opened this issue Sep 3, 2017 · 1 comment
Closed
Assignees

Comments

@timss
Copy link
Owner

timss commented Sep 3, 2017

Most settings, if not all, are possible to override using the local configuration files $HOME/.vimrc.{first,last}. Additional plugins can be added using $HOME/.vimrc.plugins.

One major caveat or limitation of the current setup is that plugins included in the main configuration can't be disabled or fully ignored using the local configuration. It should be possible to define a list of plugins that should never be installed, or otherwise allow users to disable plugins in the local configuration.

For instance:

let g:plugs_disabled = ['syntastic'] # or
UnPlug 'scrooloose/syntastic'

There are some similar solutions out there for vim-plug and other plugin managers today, usually solved in the vim distribution and not the plugin manager itself:

@timss timss self-assigned this Sep 3, 2017
@timss timss closed this as completed in 1b4f629 Sep 3, 2017
@timss timss changed the title Not possible to disable plugins using local config $HOME/.vimrc.{plugins,first,last} Add an option for disabling plugins using local config ~/.vimrc.plugins Sep 6, 2017
@timss
Copy link
Owner Author

timss commented Sep 17, 2017

Not sure why GitHub removed the referenced commit.

1b4f629

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant