How to install YouCompleteMe using pathogen on windows

2.2k Views Asked by At

I am trying to install YCM using Pathogen, however there isn't a tutorial to do this using Pathogen in the README file on Github. Is there any way to install YCM with Pathogen and how can I do so?

2

There are 2 best solutions below

0
rgoliveira On BEST ANSWER

To install a plugin with Pathogen you just need to put its folder inside your %USERPROFILE%/vimfiles/bundle/ folder.

One way to do it would be:

git clone https://github.com/Valloric/YouCompleteMe.git %USERPROFILE%/vimfiles/bundle/YouCompleteMe

And then follow the rest of the installation instructions as if it were Vundle (check the repo for more info):

cd %USERPROFILE%/vimfiles/bundle/YouCompleteMe
python install.py --all
0
kojiro On

On macOS using pyenv, I had to…

cd "$HOME/.vim/bundle"
git clone https://github.com/Valloric/YouCompleteMe.git
cd YouCompleteMe
git submodule update --init --recursive  # I had to do this several times… YMMV
PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.6.12
pyenv local 3.6.12
python3.6 install.py --all