Keep diary on github, by default this plugin creates following private repo:
https://github.com/<your-github-login>/diary.git
Usage:
- This plugin requires
python3
and packagePyGithub
:
pip3 install PyGithub
- Create a minimal config file
$HOME/.diary.json
orC:\Users\<user-id>\.diary.json
:
{
"github-token": "<your-github-token>"
}
- This plugin adds two most-commonly-used commands:
:DiaryNew " create a new unnamed tab and pull in any existing diary content
:DiarySubmit " submit current content
Note: