After several years of using my old .vimrc with vundle, finally bit the bullet and converted to vim-plug. It was quite an easy transition, and in my case, vim is now quicker to load.
$ curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
I then wrote out the new .vimrc as follows
"
" Plugins will be downloaded under the specified directory.
call plug#begin('~/.vim/plugged')
" Declare the list of plugins.
" git plugins
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-git'
Plug 'tpope/vim-obsession'
Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-sleuth'
Plug 'tpope/vim-surround'
" statusbar
Plug 'vim-airline/vim-airline'
" syntax highlighting
Plug 'scrooloose/syntastic'
Plug 'vim-pandoc/vim-pandoc'
Plug 'vim-pandoc/vim-pandoc-syntax'
Plug 'dense-analysis/ale'
" colourstuff
Plug 'nightsense/night-and-day'
Plug 'altercation/vim-colors-solarized'
Plug 'tpope/vim-vividchalk'
Plug 'gkjgh/cobalt'
Plug 'vim-scripts/mayansmoke'
" List ends here. Plugins become visible to Vim after this call.
call plug#end()
" Now ensure certain stuff on
filetype plugin indent on
" other settings
set encoding=utf-8
set mouse=a
set ff=unix
set spelllang=en_au
syntax enable
set termguicolors
"--------------------------------------------------------------
" Console ui and text display
" -------------------------------------------------------------
set vb t_vb =
set ruler
set noerrorbells
set scrolloff=5
set number "line numbering
set showmatch " show matches
"--------------------------------------------------------------
" TAB specific options
" -------------------------------------------------------------
set tabstop=4
set expandtab
set softtabstop=4
set shiftwidth=4
set smarttab
set shiftround
set nojoinspaces
"--------------------------------------------------------------
" colourscheme settings depending on sunlight levels.
" -------------------------------------------------------------
let g:nd_themes = [
\ ['sunrise+0/0', 'mayansmoke', 'light' ],
\ ['sunset+0/0', 'cobalt', 'dark' ],
\ ]
let g:nd_latitude = '-30'
let g:nd_timeshift = '0'
let g:nd_airline = 1
set wildmenu
set wildmode=list:longest
set fileformats=unix,dos,mac
set incsearch
set ignorecase
set smartcase
if filereadable(".vim.custom")
so .vim.custom
endif
" vim airline
let g:airline#extensions#branch#enabled = 1
let g:airline#extensions#branch#empty_message = ''
let g:airline#extensions#branch#syntastic#enabled = 1
let g:airline#extensions#tabline#enabled = 1
It was then just a matter of restarting vim and entering:
:PlugInstall
Updating is simple as well:
:PlugUpdate
To update vim-plug itself, just enter:
:PlugUpgrade