Switched from pathogen to vim-plug

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

View File

@ -1,11 +1,17 @@
" pathogen " vim-plug installer
execute pathogen#infect() 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 " vim-plug plugins
filetype plugin indent on call plug#begin('~/.vim/vim-plug')
Plug 'valloric/youcompleteme'
" enable syntax highlighting Plug 'rhysd/vim-clang-format'
syntax on Plug 'vim-airline/vim-airline'
Plug 'ambv/black'
call plug#end()
" tabwidth " tabwidth
set tabstop=4 set tabstop=4
@ -29,9 +35,3 @@ let g:airline#extensions#whitespace#mixed_indent_algo = 2
" themes " themes
colorscheme elflord colorscheme elflord
" gvim layout
set guioptions-=r
set guioptions-=L
set guioptions-=m
set guioptions-=T