52 lines
1,008 B
Text
52 lines
1,008 B
Text
" ######
|
|
" # Plugin File for Vim Using
|
|
" # Vim-Plug: A minimalist Vim plugin manager
|
|
" ###
|
|
|
|
" ###
|
|
" Quick-Reference
|
|
" ===
|
|
" :PlugInstall - install plugins
|
|
" :PlugUpdate - install/update plugins
|
|
" :PlugUpgrade - upgrade vim-plug
|
|
" ###
|
|
|
|
" ######
|
|
" # Fetch & Install Self
|
|
" ###
|
|
|
|
if empty(glob('~/.vim/autoload/plug.vim'))
|
|
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
|
|
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
|
autocmd VimEnter * PlugInstall | source $MYVIMRC
|
|
endif
|
|
|
|
" ######
|
|
" # Fetch & Install Plugins
|
|
" ###
|
|
|
|
call plug#begin('~/.vim/bundle')
|
|
|
|
" Current list of plugins
|
|
Plug 'tpope/vim-fugitive'
|
|
Plug 'tpope/vim-vinegar'
|
|
Plug 'bling/vim-airline'
|
|
Plug 'justinmk/vim-sneak'
|
|
Plug 'ap/vim-templates'
|
|
Plug 'vimwiki/vimwiki'
|
|
Plug 'mhinz/vim-startify'
|
|
|
|
call plug#end()
|
|
|
|
" ######
|
|
" # Configs
|
|
" ###
|
|
|
|
" Airline configuration
|
|
set laststatus=2
|
|
let g:airline_powerline_fonts = 1
|
|
|
|
" Startify configs
|
|
let g:startify_files_number = 5
|
|
let g:startify_change_to_dir = 1
|
|
|