Switched from pathogen to vim-plug
This commit is contained in:
parent
0f018749c4
commit
1488172b57
1 changed files with 13 additions and 13 deletions
26
vim/vimrc
26
vim/vimrc
|
@ -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
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue