diff --git a/.vimrc b/.vimrc index abc782b..ef004ad 100644 --- a/.vimrc +++ b/.vimrc @@ -1,29 +1,34 @@ set nocompatible " be iMproved, required filetype on " required +if empty(glob("~/.vim/bundle/Vundle.vim")) + execute '!git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim' + autocmd VimEnter * silent! PluginInstall +endif + " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() -" alternatively, pass a path where Vundle should install plugins -"call vundle#begin('~/some/path/here') + " alternatively, pass a path where Vundle should install plugins + "call vundle#begin('~/some/path/here') -" let Vundle manage Vundle, required -Plugin 'VundleVim/Vundle.vim' + " let Vundle manage Vundle, required + Plugin 'VundleVim/Vundle.vim' -Plugin 'scrooloose/nerdtree' + Plugin 'scrooloose/nerdtree' -Plugin 'digitaltoad/vim-pug' + Plugin 'digitaltoad/vim-pug' -Plugin 'itchyny/lightline.vim' + Plugin 'itchyny/lightline.vim' -Plugin 'airblade/vim-gitgutter' + Plugin 'airblade/vim-gitgutter' -Plugin 'suan/vim-instant-markdown' -Plugin 'xuhdev/vim-latex-live-preview' + Plugin 'suan/vim-instant-markdown' + Plugin 'xuhdev/vim-latex-live-preview' -Plugin 'kien/rainbow_parentheses.vim' + Plugin 'kien/rainbow_parentheses.vim' -" All of your Plugins must be added before the following line + " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required " To ignore plugin indent changes, instead use: