vim-plugins: Cull and reorganize

This commit is contained in:
Bill Niblock 2017-09-22 11:15:26 -04:00
parent 23a47b8315
commit 197d10505f

View file

@ -10,17 +10,16 @@ endif
call plug#begin('~/.vim/bundle') call plug#begin('~/.vim/bundle')
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-tbone' Plug 'vimwiki/vimwiki'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-unimpaired' Plug 'tpope/vim-unimpaired'
Plug 'tpope/vim-commentary' Plug 'tpope/vim-commentary'
Plug 'tpope/vim-endwise'
Plug 'vimwiki/vimwiki'
Plug 'ajh17/VimCompletesMe' Plug 'ajh17/VimCompletesMe'
Plug 'sheerun/vim-polyglot'
"Plug 'ludovicchabant/vim-gutentags' "Plug 'ludovicchabant/vim-gutentags'
Plug 'sheerun/vim-polyglot'
Plug 'junegunn/goyo.vim' Plug 'junegunn/goyo.vim'
Plug 'tmux-plugins/vim-tmux' Plug 'tpope/vim-tbone'
call plug#end() call plug#end()
" ============================================================================== " ==============================================================================
@ -30,7 +29,7 @@ call plug#end()
let g:vimwiki_list = [{'path': '~/Workbench/vimwiki/', 'auto_tags': 1}] let g:vimwiki_list = [{'path': '~/Workbench/vimwiki/', 'auto_tags': 1}]
"" Insert my journal template, and the current date "" Insert my journal template, and the current date
nnoremap <silent><leader>tj :call NewJournal()<CR> nnoremap <silent><leader>tj :call NewJournal()<CR>
function! NewJournal() function! NewJournal() abort
.-1read ~/.vim/templates/journal .-1read ~/.vim/templates/journal
s/Date/\=strftime("%A, %B %d")/ s/Date/\=strftime("%A, %B %d")/
endfunction endfunction