vimrc: Added Vundle installation

This commit is contained in:
Mahesh Asolkar 2019-02-03 15:43:32 -08:00
parent 6c27dbd2dc
commit f623067672

View File

@ -2,17 +2,23 @@
" Vim customization and package management
"
" This uses Vundle for package management, so following (from Vundle README)
" must be run for rest of this vimrc to work:
" This uses Vundle for package management, so Vundle is installed on the first
" run.
"
" % mkdir -p ~/.vim/bundle
" % git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
"
" Then run the following to install plugins
" Run the following to install plugins:
"
" * Launch vim and run :PluginInstall
" * To install from command line: vim +PluginInstall +qall
" Vundle Installation {{{
" Bootstrap Vundle if it's not installed
if empty(system("grep lazy_load ~/.vim/bundle/Vundle.vim/autoload/vundle.vim"))
silent !mkdir -p ~/.vim/bundle
silent !rm -rf ~/.vim/bundle/Vundle.vim
silent !git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
endif
" }}}
" Base settings {{{
set nocompatible " be iMproved, required
@ -30,7 +36,7 @@
" Vundle setup - Preamble {{{
set rtp+=~/.vim/bundle/Vundle.vim
set runtimepath+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
@ -72,7 +78,7 @@
elseif has("win32")
set guifont=Iosevka\ Term\ Regular\ 13
else
set guifont=Iosevka\ Term\ Regular\ 9
set guifont=Iosevka\ Term\ Regular\ 12
end
set columns=120 lines=54