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

Feature: create a global config with globally visible plugins #1

Open
Teebor-Choka opened this issue Mar 4, 2020 · 1 comment
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Teebor-Choka
Copy link
Collaborator

Plugins and config are currently local to the executing user. An option to create a global configuration along with globally available plugins as a default would be preferable in many cases.

@Teebor-Choka Teebor-Choka added enhancement New feature or request help wanted Extra attention is needed labels Mar 4, 2020
@Teebor-Choka
Copy link
Collaborator Author

The default vim installation attempts to source a configuration file, if available - this can be used to inject to global vim config agnostic of Linux distro:

" Source a global configuration file if available
if filereadable("/etc/vim/vimrc.local")
  source /etc/vim/vimrc.local
endif

In order to install plugins globally, they should be both redable and executable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant