mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Add YouCompleteMe vim fix and vim-setup script
This commit is contained in:
parent
f5e8b0a3ac
commit
e99e0e91ed
3
.vimrc
3
.vimrc
@ -26,6 +26,9 @@ Plugin 'vim-airline/vim-airline-themes'
|
||||
|
||||
call vundle#end()
|
||||
|
||||
" YouCompleteMe python fix
|
||||
let g:ycm_server_python_interpreter = '/usr/bin/python3'
|
||||
|
||||
" Vim-Airline config
|
||||
let g:Powerline_symbols = 'fancy'
|
||||
let g:airline_powerline_fonts = 1
|
||||
|
15
scripts/vim-setup
Executable file
15
scripts/vim-setup
Executable file
@ -0,0 +1,15 @@
|
||||
YCM=~/.vim/bundle/YouCompleteMe
|
||||
|
||||
#######################
|
||||
## Initialise Vundle ##
|
||||
#######################
|
||||
mkdir -p ~/.vim/bundle
|
||||
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
||||
vim +PluginInstall +qall
|
||||
|
||||
|
||||
#########################
|
||||
## Setup YouCompleteMe ##
|
||||
#########################
|
||||
cd "$YCM"
|
||||
./install.py --clang-completer --omnisharp-completer --tern-completer # requires cmake, mono and nodejs, npm
|
Loading…
Reference in New Issue
Block a user