-
Notifications
You must be signed in to change notification settings - Fork 30
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Useful snippets for documentation? #85
Comments
Correcting myself, instances of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I used to use vim-plug whose documentation included an if statement you could use to drop a vimrc/init.vim on a new system and the first time you started vim, it'd install all your plugins for you. Useful if you are constantly blowing away the contents of a machine and want to easily deploy a functional environment to it.
Unfortunately minpac doesn't have such a simple single-file you can download, but I came up with this:
This seems about as convenient as defining commands to call minpac's function. Unless I did it "wrong", in which case I'm sure the Internet will inform me of how I should've done it.
One niggle: My colorscheme is unavailable a few lines later in init.vim because minpac#update() hasn't finished installing it. I've protected it with a try block for now since I can run the single command myself once the job finishes.
The text was updated successfully, but these errors were encountered: