Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xwinxu authored Apr 24, 2022
1 parent 6c5ce41 commit 26b20a4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,23 @@ or [Vundle](https://github.com/VundleVim/Vundle.vim)
```
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
```
For YCM:
```
brew install macvim # optional
brew install cmake python go nodejs
cd ~/.vim/bundle/YouCompleteMe
python3 install.py --clang-interpreter # no need --all
```
Add to `.vimrc` (may need to `brew install vim` for python3+ support)
```
" YouCompleteMe
let g:ycm_global_ycm_extra_conf='~/.vim/bundle/YouCompleteMe/.ycm_extra_conf.py'
let g:ycm_confirm_extra_conf=0
let g:ycm_python_binary_path='/usr/bin/python3'
```
Then `:wq` to exit, reopen vim and run:
- Delete plugin: `:PluginUpdate`
- Add plugin: `:PluginInstall`

## References
[vundle](https://www.jianshu.com/p/f0513d18742a)

0 comments on commit 26b20a4

Please sign in to comment.