Update Vim README; add Vimwiki journal template
This commit is contained in:
parent
4507f7c36c
commit
84b4b806b7
3 changed files with 21 additions and 12 deletions
|
@ -11,27 +11,20 @@ My vim configuration is relatively straight forward.
|
||||||
The vimrc.bundles file stores the plugin information for
|
The vimrc.bundles file stores the plugin information for
|
||||||
[Vim-Plug](https://github.com/junegunn/vim-plug). Included in the file is a
|
[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
|
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
|
####Notable Plugins
|
||||||
* [Fugitive](https://github.com/tpope/vim-fugitive) for nice Git integration.
|
* [Fugitive](https://github.com/tpope/vim-fugitive) for nice Git integration.
|
||||||
* [Airline](https://github.com/bling/vim-airline) to look nice, but not garish.
|
* [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 file browsing.
|
||||||
* [Vinegar](https://github.com/tpope/vim-vinegar) for a convenient directory
|
|
||||||
browser.
|
|
||||||
* [Templates](https://github.com/ap/vim-templates.git) for easy templates.
|
* [Templates](https://github.com/ap/vim-templates.git) for easy templates.
|
||||||
* [vimwiki](https://github.com/vimwiki/vimwiki) for info, diary and notes.
|
* [vimwiki](https://github.com/vimwiki/vimwiki) for info, diary and notes.
|
||||||
* [Startify](https://github.com/mhinz/vim-startify) for a nice start-page
|
* [Startify](https://github.com/mhinz/vim-startify) for a nice start-page
|
||||||
|
* [Syntastic](https://github.com/scrooloose/syntastic) for syntax checking.
|
||||||
####Pending Plugins
|
|
||||||
The following should be eventually installed and configured properly:
|
|
||||||
* Syntastic
|
|
||||||
* vim-dispatch
|
|
||||||
|
|
||||||
##To-Do
|
##To-Do
|
||||||
* [ ] Customize Airline more (Optional)
|
* [ ] Customize Airline more (Optional)
|
||||||
* [ ] Consider adding [gist-vim](https://github.com/mattn/gist-vim) due to
|
* [ ] Consider adding [gist-vim](https://github.com/mattn/gist-vim) due to
|
||||||
prevalence of Gist at work
|
prevalence of Gist at work
|
||||||
* [ ] Look into [ctrlp](https://github.com/kien/ctrlp.vim) for more awesome
|
|
||||||
searching.
|
|
||||||
* [ ] Get color situtated.
|
* [ ] Get color situtated.
|
||||||
|
|
9
vim/vim/templates/journal
Normal file
9
vim/vim/templates/journal
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
= Date =
|
||||||
|
|
||||||
|
== To-Do ==
|
||||||
|
|
||||||
|
== Quote ==
|
||||||
|
|
||||||
|
== Goals ==
|
||||||
|
|
||||||
|
== Notes ==
|
|
@ -35,7 +35,6 @@ Plug 'tpope/vim-surround'
|
||||||
Plug 'vimwiki/vimwiki'
|
Plug 'vimwiki/vimwiki'
|
||||||
Plug 'tpope/vim-unimpaired'
|
Plug 'tpope/vim-unimpaired'
|
||||||
Plug 'tpope/vim-commentary'
|
Plug 'tpope/vim-commentary'
|
||||||
" Plug 'justinmk/vim-sneak'
|
|
||||||
" Plug 'ap/vim-templates'
|
" Plug 'ap/vim-templates'
|
||||||
|
|
||||||
" Ruby Related
|
" Ruby Related
|
||||||
|
@ -72,3 +71,11 @@ let g:syntastic_check_on_open = 1
|
||||||
let g:syntastic_check_on_wq = 1
|
let g:syntastic_check_on_wq = 1
|
||||||
|
|
||||||
let g:syntastic_sh_checkers = [ 'shellcheck', 'sh' ]
|
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
|
||||||
|
|
Loading…
Reference in a new issue