Use vim-plug.
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,3 +0,0 @@
|
||||
[submodule ".vim/bundle/vundle"]
|
||||
path = .vim/bundle/vundle
|
||||
url = https://github.com/gmarik/vundle.git
|
||||
2665
.vim/autoload/plug.vim
Normal file
2665
.vim/autoload/plug.vim
Normal file
File diff suppressed because it is too large
Load Diff
Submodule .vim/bundle/vundle deleted from 0b28e334e6
42
.vim/vimrc
42
.vim/vimrc
@@ -56,29 +56,27 @@ vnoremap <silent> p p`]
|
||||
vnoremap <silent> y y`]
|
||||
"
|
||||
filetype off
|
||||
set rtp+=~/.vim/bundle/vundle/
|
||||
call vundle#rc()
|
||||
"
|
||||
Bundle "gmarik/vundle"
|
||||
"
|
||||
Bundle "bonsaiben/bootstrap-snippets"
|
||||
Bundle "ctrlpvim/ctrlp.vim"
|
||||
Bundle "garbas/vim-snipmate"
|
||||
Bundle "godlygeek/csapprox"
|
||||
Bundle "gregsexton/gitv"
|
||||
Bundle "honza/vim-snippets"
|
||||
Bundle "itchyny/lightline.vim"
|
||||
Bundle "majutsushi/tagbar"
|
||||
Bundle "MarcWeber/vim-addon-mw-utils"
|
||||
Bundle "motus/pig.vim"
|
||||
Bundle "nathanaelkane/vim-indent-guides"
|
||||
Bundle "scrooloose/nerdtree"
|
||||
Bundle "sheerun/vim-polyglot"
|
||||
Bundle "spf13/PIV"
|
||||
Bundle "terryma/vim-expand-region"
|
||||
Bundle "tomtom/tlib_vim"
|
||||
Bundle "tpope/vim-fugitive"
|
||||
Bundle "tpope/vim-surround"
|
||||
call plug#begin('~/.vim/plugged')
|
||||
Bundle 'bonsaiben/bootstrap-snippets'
|
||||
Bundle 'ctrlpvim/ctrlp.vim'
|
||||
Bundle 'garbas/vim-snipmate'
|
||||
Bundle 'godlygeek/csapprox'
|
||||
Bundle 'gregsexton/gitv'
|
||||
Bundle 'honza/vim-snippets'
|
||||
Bundle 'itchyny/lightline.vim'
|
||||
Bundle 'majutsushi/tagbar'
|
||||
Bundle 'MarcWeber/vim-addon-mw-utils'
|
||||
Bundle 'motus/pig.vim'
|
||||
Bundle 'nathanaelkane/vim-indent-guides'
|
||||
Bundle 'scrooloose/nerdtree'
|
||||
Bundle 'sheerun/vim-polyglot'
|
||||
Bundle 'spf13/PIV'
|
||||
Bundle 'terryma/vim-expand-region'
|
||||
Bundle 'tomtom/tlib_vim'
|
||||
Bundle 'tpope/vim-fugitive'
|
||||
Bundle 'tpope/vim-surround'
|
||||
call plug#end()
|
||||
"
|
||||
filetype plugin indent on
|
||||
let g:ctrlp_use_caching = 0
|
||||
|
||||
10
install.sh
10
install.sh
@@ -51,13 +51,7 @@ mkdir -p ~/.config || true
|
||||
ln -fs ../.vim ~/.config/nvim
|
||||
|
||||
# vim
|
||||
if [ -e ~/.vim ]; then
|
||||
mkdir -p ~/.vim/ || true
|
||||
rsync -a ${BASEDIR}/.vim/ ~/.vim/
|
||||
chmod 700 ~/.vim/
|
||||
vim +BundleClean\! +BundleUpdate +q +q
|
||||
else
|
||||
mkdir -p ~/.vim/
|
||||
rsync -a ${BASEDIR}/.vim/ ~/.vim/
|
||||
chmod 700 ~/.vim/
|
||||
vim +BundleClean\! +BundleInstall +q +q
|
||||
fi
|
||||
vim +PlugUpdate +PlugClean\! +q +q
|
||||
|
||||
Reference in New Issue
Block a user