Moving from Vundle to vim-plug

This commit is contained in:
Mahesh Asolkar 2019-12-26 13:59:01 -08:00
parent 0a3753f35b
commit effa93526f

View File

@ -12,10 +12,10 @@
" 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
if empty(glob("~/.vim/autoload/plug.vim"))
echo "No vim-plug, getting it ..."
execute '!curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
echo "Getting vim-plug ... done"
endif
" }}}
@ -40,44 +40,41 @@
" Vundle setup - Preamble {{{
set runtimepath+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
call plug#begin()
" }}}
" Vundle setup - Packages {{{
Plugin 'scrooloose/nerdtree'
Plugin 'tpope/vim-fugitive'
Plugin 'mhinz/vim-signify'
Plugin 'tmhedberg/matchit'
Plugin 'spf13/vim-colors'
Plugin 'ajmwagar/vim-deus.git'
Plugin 'tpope/vim-surround'
Plugin 'tpope/vim-repeat'
Plugin 'drmikehenry/vim-fontsize'
Plugin 'jiangmiao/auto-pairs'
Plugin 'terryma/vim-multiple-cursors'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'roxma/vim-hug-neovim-rpc'
Plugin 'roxma/nvim-yarp'
Plugin 'Shougo/denite.nvim'
Plugin 'pR0Ps/molokai-dark'
Plugin 'flrnprz/plastic.vim'
Plugin 'nathanaelkane/vim-indent-guides'
Plugin 'luochen1990/rainbow'
Plugin 'vhda/verilog_systemverilog.vim'
Plugin 'nanotech/jellybeans.vim'
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'tpope/vim-fugitive'
Plug 'mhinz/vim-signify'
Plug 'tmhedberg/matchit'
Plug 'spf13/vim-colors'
Plug 'ajmwagar/vim-deus.git'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-repeat'
Plug 'drmikehenry/vim-fontsize'
Plug 'jiangmiao/auto-pairs'
Plug 'terryma/vim-multiple-cursors'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
"Plug 'roxma/vim-hug-neovim-rpc'
"Plug 'roxma/nvim-yarp'
"Plug 'Shougo/denite.nvim'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'pR0Ps/molokai-dark'
Plug 'flrnprz/plastic.vim'
Plug 'nathanaelkane/vim-indent-guides'
Plug 'luochen1990/rainbow'
Plug 'vhda/verilog_systemverilog.vim'
Plug 'nanotech/jellybeans.vim'
" }}}
" Vundle - Closing {{{
call vundle#end() " required
filetype plugin indent on " required
call plug#end()
" }}}
@ -91,7 +88,7 @@
elseif has("win32")
set guifont=Iosevka\ Term\ Regular\ 13
else
set guifont=Iosevka\ Term\ Regular\ 10.5
set guifont=Iosevka\ Term\ Regular\ 13.5
end
set columns=120 lines=54
@ -113,6 +110,9 @@
set guioptions=iaA
else
set background=dark
if has('vcon')
set termguicolors
endif
endif
" check to make sure vim has been compiled with colorcolumn support
@ -121,8 +121,8 @@
set colorcolumn=120
endif
"colorscheme molokai-dark
colorscheme deus
colorscheme molokai-dark
"colorscheme deus
set norelativenumber
set number
@ -219,8 +219,10 @@
nnoremap <S-F8> <C-w>s
nnoremap <F8> <C-w>v
nnoremap <F9> :Denite buffer<CR>
nnoremap <leader>b :Denite buffer<CR>
"nnoremap <F9> :Denite buffer<CR>
"nnoremap <leader>b :Denite buffer<CR>
nnoremap <F9> :CtrlPMixed<CR>
nnoremap <leader>b :CtrlPBuffer<CR>
nnoremap <S-F10> :set wrap!<CR>
nnoremap <S-F1> :set spell!<CR>