From 1488172b57bc20697a57dfed4b07f5e18039a1c5 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Thu, 15 Nov 2018 13:22:05 +0100 Subject: [PATCH] Switched from pathogen to vim-plug --- vim/vimrc | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index f14cc4f..4af9608 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -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 -