-
Notifications
You must be signed in to change notification settings - Fork 254
install
Liu-Cheng Xu edited this page Jun 9, 2018
·
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 option
Git 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 $ 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.
- 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.