commit 01105565ed89ce364765237282421d5f44d8478a
parent b2082082d7dca0bd94e6460917e0defc7eb57570
Author: Chris Bracken <chris@bracken.jp>
Date: Tue, 27 Jul 2021 14:38:41 -0700
Use Home.md for diary index to match GitHub/Gitea
By default, vimwiki writes the diary index to diary.md. GitHub and Gitea
use Home.md for the main page of a wiki.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.vim/vimrc b/.vim/vimrc
@@ -118,6 +118,9 @@ let wiki_3.syntax = 'markdown'
let wiki_3.ext = '.md'
let g:vimwiki_list = [wiki_1, wiki_2, wiki_3]
+" Use Home.md for the diary index to match GitHub's main wiki page.
+let g:vimwiki_diary_index = 'Home'
+
" Only consider files under a VimWiki path to be VimWiki.
let g:vimwiki_global_ext = 0