Closed GoogleCodeExporter closed 9 years ago
It was intentional change.
Once there are too many diary files, creation of the new one becomes too slow
due to auto diary index update.
Therefore auto update was removed and :VimwikiDiaryGeneragelinks command
introduced instead.
Original comment by habamax
on 16 May 2012 at 5:10
Makes sense, thanks.
Is there any way to trigger the VimwikiDiaryGenerateLinks and/or the
VimwikiAll2HTML from outside vim (e.g. a cron job) ?
Thanks,
Scott
Original comment by scottand...@gmail.com
on 16 May 2012 at 6:59
Something like this could work as a cron job:
vim -c "exe 'VimwikiDiaryGenerateLinks' | exe 'VimwikiAll2HTML' | quit"
Original comment by stu.andrews
on 16 May 2012 at 8:46
Awesome! That just solved a number a issues for me :) Although I had to add the
name of the diary wiki file like:
vim .local/share/vimwiki/diary/diary.wiki -c "exe 'VimwikiDiaryGenerateLinks' |
exe 'VimwikiAll2HTML' | quit"
or it complained about only running the VimwikiDiaryGenerateLinks on a diary
index page.
Thanks!
Scott
Original comment by scottand...@gmail.com
on 16 May 2012 at 8:54
Original issue reported on code.google.com by
firecat4...@gmail.com
on 15 May 2012 at 9:20