From ea4a5e3bb2dbbf5123b271e1dfff2a9ecd9220fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20F=2E=20Sch=C3=B6nitzer?= Date: Tue, 26 May 2020 23:39:31 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index f674b7e..17cee38 100644 --- a/README.md +++ b/README.md @@ -238,6 +238,14 @@ let g:vimwiki_list = [{'path': '~/vimwiki/', ``` +This option will treat all markdown files in your system as part of vimwiki (check `set filetype?`). Add +```vim +let g:vimwiki_global_ext = 0 +``` +to your `.vimrc` to restrict Vimwiki's operation to only those paths listed in `g:vimwiki_list`. +Other markdown files wouldn't be treated as wiki pages. +See [g:vimwiki_global_ext](https://github.com/vimwiki/vimwiki/blob/619f04f89861c58e5a6415a4f83847752928252d/doc/vimwiki.txt#L2631). + ## Getting help [GitHub issues](https://github.com/vimwiki/vimwiki/issues) are the primary