-
Notifications
You must be signed in to change notification settings - Fork 254
install
Liu-Cheng Xu edited this page Jan 25, 2019
·
3 revisions
-
Download vim-plug:
windows (PowerShell)
md ~\.vim\autoload $uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' (New-Object Net.WebClient).DownloadFile( $uri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath( "~\.vim\autoload\plug.vim" ) )
-
Enter your home directory, Open
Git Bash
by right-clicking and choosing the optionGit Bash Here
.Run the following commands to download space-vim and make a symlink.
$ git clone https://github.com/liuchengxu/space-vim.git ~/.space-vim --depth=1 $ ln -s ~/.space-vim/init.vim ~/.vimrc $ cp ~/.space-vim/init.spacevim ~/.spacevim
-
Open GVim, it should install the plugins automaticaly.
YouCompleteMe is such a huge vim plugin that sometimes you have to compile it manually when the auto-installation fails. If you are a Linux or macOS user, it's not hard to install YCM given the shipped install script:
- Enter
~/.vim/plugged/YouCompleteMe
. - Run
git submodule update --init --recursive
. - Run
./install.py --clang-completer
. - Actually the network speed is the main reason of failure. So, wait with patience.