From 3fa46aa6da0c3702523ed6da194fccd339004577 Mon Sep 17 00:00:00 2001 From: TillDiem Date: Sat, 27 Nov 2021 16:54:52 +0100 Subject: [PATCH] Added installation instructions --- docs/vimwiki.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/vimwiki.md b/docs/vimwiki.md index 67dd42b..0badbcc 100644 --- a/docs/vimwiki.md +++ b/docs/vimwiki.md @@ -54,6 +54,20 @@ Afterwords run `:Helptags` in the command prompt of vim. Add `Plugin 'vimwiki/vimwiki'` to the `init.vim` or `.vimrc`. Afterwords run `vim +PluginInstall +qall` in the shell to install it. +## Install of the mykb - vimwiki + +To install the _mykb_ version of vimwiki, clone [https://github.com/AlexBocken/mykb](https://github.com/AlexBocken/mykb) in to the folder of your preference and add +``` +let g:vimwiki_list = [{'path': '/PATH/TO/DIRECTORY/mykb', 'syntax': 'markdown', 'ext': '.md'}] +``` +to your `.vimrc`. +To make the usage more userfriendly, add +``` +alias mykb='nvim /PATH/mykb.md` +``` +to your aliases. To then open it, just run `mykb`. + + ### Configuration To go to the index page you enter `ww`.