diff --git a/vim/README.md b/vim/README.md index 00d6960..e53e967 100644 --- a/vim/README.md +++ b/vim/README.md @@ -11,27 +11,20 @@ My vim configuration is relatively straight forward. The vimrc.bundles file stores the plugin information for [Vim-Plug](https://github.com/junegunn/vim-plug). Included in the file is a command to check for and pull-down the vim-plug files, if not previously -installed. +installed. All configurations related to plugins goes into this file also, so if +I want a plugin-free install, I can ignore this file and still run fine. ####Notable Plugins * [Fugitive](https://github.com/tpope/vim-fugitive) for nice Git integration. * [Airline](https://github.com/bling/vim-airline) to look nice, but not garish. -* [Sneak](https://github.com/justinmk/vim-sneak) for getting around. -* [Vinegar](https://github.com/tpope/vim-vinegar) for a convenient directory - browser. +* [Vinegar](https://github.com/tpope/vim-vinegar) for a file browsing. * [Templates](https://github.com/ap/vim-templates.git) for easy templates. * [vimwiki](https://github.com/vimwiki/vimwiki) for info, diary and notes. * [Startify](https://github.com/mhinz/vim-startify) for a nice start-page - -####Pending Plugins -The following should be eventually installed and configured properly: -* Syntastic -* vim-dispatch +* [Syntastic](https://github.com/scrooloose/syntastic) for syntax checking. ##To-Do * [ ] Customize Airline more (Optional) * [ ] Consider adding [gist-vim](https://github.com/mattn/gist-vim) due to prevalence of Gist at work -* [ ] Look into [ctrlp](https://github.com/kien/ctrlp.vim) for more awesome - searching. * [ ] Get color situtated. diff --git a/vim/vim/templates/journal b/vim/vim/templates/journal new file mode 100644 index 0000000..6bd6147 --- /dev/null +++ b/vim/vim/templates/journal @@ -0,0 +1,9 @@ += Date = + +== To-Do == + +== Quote == + +== Goals == + +== Notes == diff --git a/vim/vimrc-plugins b/vim/vimrc-plugins index 6b9abcc..648539b 100644 --- a/vim/vimrc-plugins +++ b/vim/vimrc-plugins @@ -35,7 +35,6 @@ Plug 'tpope/vim-surround' Plug 'vimwiki/vimwiki' Plug 'tpope/vim-unimpaired' Plug 'tpope/vim-commentary' -" Plug 'justinmk/vim-sneak' " Plug 'ap/vim-templates' " Ruby Related @@ -72,3 +71,11 @@ 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 tj :call NewJournal() +function! NewJournal() + .-1read ~/.vim/templates/journal + s/Date/\=strftime("%A, %B %d")/ +endfunction