From c2c3a99e4d4fff035ea452d2162c3566b1e3c127 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 1 Oct 2016 22:28:55 +0900 Subject: [PATCH] Installing YCM manually --- faq.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/faq.md b/faq.md index 6366329..0741646 100644 --- a/faq.md +++ b/faq.md @@ -275,6 +275,17 @@ Workarounds are as follows: - In this case single-threaded vimscript installer, which never times out, is used - Asynchronous Neovim installer does not implement timeout. +### Installing YouCompleteMe manually + +[YouCompleteMe](https://github.com/Valloric/YouCompleteMe) is an exceptionally large plugin that can take a very long time to download and compile and it also takes a large amount of disk space. For this reason, one may want to download and update YouCompleteMe manually only when it is needed. Install it on any directory you prefer and pass the name of the directory to the `Plug` command. + +```vim +" Assuming that you have installed (or will install) YCM in ~/.vim/plugged/YouCompleteMe +Plug '~/.vim/plugged/YouCompleteMe' +``` + +vim-plug will load the plugin, but it will not try to install or update YouCompleteMe. + ### fatal: dumb http transport does not support --depth Apparently the git option `--depth 1` requires SSL on the remote Git server. It is now default, to reduce download size. To get around this, you can: