vim: add diary tools to vimwiki
This commit is contained in:
parent
5ba86776ee
commit
5950c9e494
@ -1,6 +1,13 @@
|
|||||||
|
= Main Task =
|
||||||
|
* [[TODO]]
|
||||||
|
* See Diary with :Diary . New entries with \w\w or with :Calendar
|
||||||
|
|
||||||
|
= Search =
|
||||||
|
Use :VWS /term/ to search.
|
||||||
|
Use :lopen to see all results
|
||||||
|
|
||||||
= Bookeen =
|
= Bookeen =
|
||||||
* [[Notes]]
|
* [[Notes]]
|
||||||
* [[TODO]]
|
|
||||||
= Dev =
|
= Dev =
|
||||||
* [[Code Checker]]
|
* [[Code Checker]]
|
||||||
* [[GCC]]
|
* [[GCC]]
|
||||||
|
9
.vimrc
9
.vimrc
@ -580,6 +580,15 @@ Plugin 'tpope/vim-dispatch'
|
|||||||
" VimWiki
|
" VimWiki
|
||||||
Plugin 'vimwiki/vimwiki'
|
Plugin 'vimwiki/vimwiki'
|
||||||
let g:vimwiki_list=[{'path':'~/.vim/vimwiki'}]
|
let g:vimwiki_list=[{'path':'~/.vim/vimwiki'}]
|
||||||
|
Plugin 'mattn/calendar-vim'
|
||||||
|
" Use \w\w to create new diary entry.
|
||||||
|
" use :Diary to view all on them
|
||||||
|
command! Diary VimwikiDiaryIndex
|
||||||
|
augroup vimwikigroup
|
||||||
|
autocmd!
|
||||||
|
" automatically update links on read diary
|
||||||
|
autocmd BufRead,BufNewFile diary.wiki VimwikiDiaryGenerateLinks
|
||||||
|
augroup end
|
||||||
|
|
||||||
" Align
|
" Align
|
||||||
" eg. to align on the "=" do :'<,'>Align =
|
" eg. to align on the "=" do :'<,'>Align =
|
||||||
|
Loading…
Reference in New Issue
Block a user