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

Installation method now that Vundle is gone #4134

Closed
jbkkd opened this issue Feb 27, 2023 · 8 comments
Closed

Installation method now that Vundle is gone #4134

jbkkd opened this issue Feb 27, 2023 · 8 comments

Comments

@jbkkd
Copy link

jbkkd commented Feb 27, 2023

Vundle is gone. There doesn't seem to be a horizon for it returning anytime soon.

The Quick start installation method mentions Vundle as the only source of installation of YCM at the moment. Since that's not available, what's the next best way to get YCM installed?

@puremourning
Copy link
Member

puremourning commented Feb 27, 2023

You can use any method you like, including any other package manager, vim's built-in packages or manual clone of the repo. The reason we suggested vundle historically is that it (at the time) was the only one that correctly handled submodules.

@puremourning
Copy link
Member

I'll write up some instructions on using the built-in packages later.

@puremourning puremourning reopened this Feb 27, 2023
@puremourning
Copy link
Member

puremourning commented Feb 27, 2023

How to use vim's built-in plugins:

  1. Clone the plugin as an optional package
git clone --recurse-submodules https://github.com/ycm-core/YouCompleteMe.git ~/.vim/pack/YouCompleteMe/opt/YouCompleteMe
  1. Build the extension (per README.md instructions)
pushd ~/.vim/pack/YouCompleteMe/opt/YouCompleteMe
./install.py --all
popd
  1. Add the following line to your vimrc:
packadd YouCompleteMe

To Update:

  1. Pull latest, update submodules, and rebuild
pushd ~/.vim/pack/YouCompleteMe/opt/YouCompleteMe
git pull
git submodule update --init --recursive
./install.py --all
popd

Alternatively you can use any other package manager.

@puremourning puremourning pinned this issue Feb 27, 2023
@thomaswilder

This comment was marked as outdated.

@puremourning

This comment was marked as outdated.

@jhux2

This comment was marked as off-topic.

@jhux2
Copy link

jhux2 commented Mar 30, 2023

Btw, vundle is back: https://github.com/VundleVim.

@puremourning

This comment was marked as off-topic.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 30, 2023
@puremourning puremourning unpinned this issue Nov 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants