Switched from pathogen to vim-plug

This commit is contained in:
Michael Mandl 2018-11-15 13:22:05 +01:00
parent 0f018749c4
commit 1488172b57

View file

@ -1,11 +1,17 @@
" pathogen
execute pathogen#infect()
" vim-plug installer
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
" auto indent
filetype plugin indent on
" enable syntax highlighting
syntax on
" vim-plug plugins
call plug#begin('~/.vim/vim-plug')
Plug 'valloric/youcompleteme'
Plug 'rhysd/vim-clang-format'
Plug 'vim-airline/vim-airline'
Plug 'ambv/black'
call plug#end()
" tabwidth
set tabstop=4
@ -29,9 +35,3 @@ let g:airline#extensions#whitespace#mixed_indent_algo = 2
" themes
colorscheme elflord
" gvim layout
set guioptions-=r
set guioptions-=L
set guioptions-=m
set guioptions-=T