dotfiles/vim/vimrc-plugins

82 lines
1.7 KiB
Text
Raw Normal View History

" ######
" # 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
" ###
" ######
2015-11-28 02:10:39 +00:00
" # 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'
2016-04-06 02:21:53 +00:00
Plug 'tpope/vim-tbone'
Plug 'tpope/vim-surround'
Plug 'vimwiki/vimwiki'
2016-04-28 17:49:53 +00:00
Plug 'tpope/vim-unimpaired'
2016-10-09 00:02:14 +00:00
Plug 'tpope/vim-commentary'
2016-03-23 02:08:47 +00:00
" Plug 'ap/vim-templates'
2016-04-06 02:21:53 +00:00
2016-10-09 00:02:14 +00:00
" Ruby Related
Plug 'tpope/vim-endwise'
Plug 'vim-ruby/vim-ruby'
2016-04-06 02:21:53 +00:00
" Appearance Related
Plug 'mhinz/vim-startify'
2016-04-06 02:21:53 +00:00
Plug 'bling/vim-airline'
2016-03-23 02:08:47 +00:00
" Syntax Related
Plug 'scrooloose/syntastic'
2016-04-06 02:21:53 +00:00
Plug 'tmux-plugins/vim-tmux'
2016-10-24 22:10:35 +00:00
Plug 'rondale-sc/vim-spacejam'
call plug#end()
" ######
" # Configs
" ###
" Airline configuration
set laststatus=2
let g:airline_powerline_fonts = 1
2015-11-28 02:10:39 +00:00
" Startify configs
let g:startify_files_number = 5
let g:startify_change_to_dir = 1
2016-03-23 02:08:47 +00:00
" Syntastic configs
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 1
let g:syntastic_sh_checkers = [ 'shellcheck', 'sh' ]
" Vimwiki Configs
"" Insert my journal template, and the current date
nnoremap <silent><leader>tj :call NewJournal()<CR>
function! NewJournal()
.-1read ~/.vim/templates/journal
s/Date/\=strftime("%A, %B %d")/
endfunction