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 " Vim customization and package management
" "
" This uses Vundle for package management, so following (from Vundle README) " This uses Vundle for package management, so Vundle is installed on the first
" must be run for rest of this vimrc to work: " run.
" "
" % mkdir -p ~/.vim/bundle " Run the following to install plugins:
" % git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
"
" Then run the following to install plugins
" "
" * Launch vim and run :PluginInstall " * Launch vim and run :PluginInstall
" * To install from command line: vim +PluginInstall +qall " * 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 {{{ " Base settings {{{
set nocompatible " be iMproved, required set nocompatible " be iMproved, required
@ -30,7 +36,7 @@
" Vundle setup - Preamble {{{ " Vundle setup - Preamble {{{
set rtp+=~/.vim/bundle/Vundle.vim set runtimepath+=~/.vim/bundle/Vundle.vim
call vundle#begin() call vundle#begin()
Plugin 'VundleVim/Vundle.vim' Plugin 'VundleVim/Vundle.vim'
@ -72,7 +78,7 @@
elseif has("win32") elseif has("win32")
set guifont=Iosevka\ Term\ Regular\ 13 set guifont=Iosevka\ Term\ Regular\ 13
else else
set guifont=Iosevka\ Term\ Regular\ 9 set guifont=Iosevka\ Term\ Regular\ 12
end end
set columns=120 lines=54 set columns=120 lines=54