Skip to content
Snippets Groups Projects
Commit 94d54bd9 authored by zhangxuantong@ihep.ac.cn's avatar zhangxuantong@ihep.ac.cn
Browse files

add some new plugins

parent 4207d4af
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ function setVim(){
if [[ $(ls -l ~/.vim/autoload/plug.vim | awk '{print $5}') -eq 0 ]]; then
wget -q -P ~/.vim/autoload/ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
fi
vim -E -s -u ~/.vimrc -c PlugUpgrade -c PlugUpdate -c PlugClean -c qa
vim -E -s -u ~/.vimrc -c PlugUpgrade -c PlugUpdate -c qa
fi
}
......
......@@ -252,22 +252,19 @@ set t_u7=
command! JsonFormat :execute '%!python3 -m json.tool'
" vim-plug
" curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
" curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
call plug#begin('~/.vim/plugged')
Plug 'easymotion/vim-easymotion'
Plug 'junegunn/vim-easy-align'
Plug 'rhysd/vim-clang-format'
Plug 'scrooloose/nerdcommenter'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-surround'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'vim-scripts/cern_root.vim'
Plug 'wellle/targets.vim'
Plug 'yggdroot/indentline'
Plug 'yianwillis/vimcdoc'
if version >= 703
"Plug 'python-mode/python-mode', { 'for': 'python', 'branch': 'develop' }
endif
if version >= 801
Plug 'liuchengxu/vista.vim'
Plug 'Chiel92/vim-autoformat'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment