Added vimwiki-sync

And corrected template path which was wrong
This commit is contained in:
Etienne Werly 2022-10-27 16:27:11 +02:00
parent 29e52f9e0c
commit 1dc194d02e
1 changed files with 7 additions and 1 deletions

8
vimrc
View File

@ -126,6 +126,12 @@ let g:UltiSnipsSnippetDirectories=[$HOME.'/notes/.config/ultisnip']
" Pop completion menu automatically
Plug 'vim-scripts/AutoComplPop'
" Automatic sync notes with git
Plug 'michal-h21/vimwiki-sync'
let g:vimwiki_sync_branch = "master"
let g:vimwiki_sync_commit_message = 'Auto commit & push. %c'
let g:sync_taskwarrior = 0
" }}}
" Appearance{{{
@ -184,7 +190,7 @@ let g:vimwiki_table_mappings = 0
Plug 'michal-h21/vim-zettel'
" Vim-Zettel options
" Per wiki options
let g:zettel_options = [{"front_matter" : [["type","note"]],"template" : "~/templates/notes/note.tpl"}
let g:zettel_options = [{"front_matter" : [["type","note"]],"template" : "~/notes/.config/templates/note.tpl"}
\ ]
" Note title format
let g:zettel_format = "%y%m%d-%H%M-%title"