3 ms·
It's really just: mkdir Notes/ vim Notes/index.wiki git add Notes/index.wiki See ":help vimwiki-temporary-wiki" for details, but basically, it recognize
by Izkata 8y ago
It's really just:
mkdir Notes/
vim Notes/index.wiki
git add Notes/index.wiki
See ":help vimwiki-temporary-wiki" for details, but basically, it recognizes the Notes directory as the root of a wiki upon opening the file.
Since it's just tracked as a normal part of the repo, it gets branched and merged along with the code. So for example if I make an experiments branch, any wiki changes regarding the experiment won't sit around polluting the wiki if I decide to drop the branch. Similarly, any changes relevant to the branch I am working on get merged together along with the code merge.