dotfiles

Clean dotfiles
git clone git://git.dimitrijedobrota.com/dotfiles.git
Log | Files | Refs

wiki.vim (259B)


      1 let g:wikidir = $XDG_DATA_HOME."/vimwiki"
      2 let g:diarydir = g:wikidir."/diary"
      3 
      4 let g:vimwiki_list = [{'path': g:wikidir, 'syntax': 'markdown', 'ext': '.md'}]
      5 
      6 execute 'au BufNewFile ' . g:diarydir .'/*.md :silent 0r !<sfile>:h/bin/vimwiki-diary-template "%"'