From 91b73c2aaca79d7c99a6117cbbf0bee31780517d Mon Sep 17 00:00:00 2001 From: Ivan Tishchenko Date: Sat, 3 Jan 2015 00:14:20 +0300 Subject: [PATCH] Basic documentation --- doc/vimwiki.txt | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt index c145211..39a4419 100644 --- a/doc/vimwiki.txt +++ b/doc/vimwiki.txt @@ -38,6 +38,7 @@ CONTENTS *vimwiki-contents* 5.12. Schemes |vimwiki-syntax-schemes| 5.13. Transclusions |vimwiki-syntax-transclude| 5.14. Thumbnails |vimwiki-syntax-thumbnails| + 5.15. Tags |vimwiki-syntax-tags| 6. Folding/Outline |vimwiki-folding| 7. Placeholders |vimwiki-placeholders| 8. Lists |vimwiki-lists| @@ -1211,6 +1212,35 @@ in HTML: > + :ind +which opens up a popup menu with all tags defined in the wiki starting with +"ind". + +Note that tag search/jump/completion commands need certain metadata saved in +the wiki folder. This metadata can be manually updated by running +|:VimwikiGenerateTags|. There is an option |vimwiki-option-auto_tags|, when +enabled, tags metadata will be auto-updated on each page save. + ============================================================================== @@ -2032,6 +2062,18 @@ local mappings |vimwiki_glstar|, |vimwiki_gl#| |vimwiki_gl-|, |vimwiki_gl-|, Note: if you use MediaWiki syntax, you probably would like to set this option to 0, because every indented line is considered verbatim text. + +*vimwiki-option-auto_tags* +------------------------------------------------------------------------------ +Key Default value Values~ +auto_tags 0 0, 1 + +Description~ +Set this option to 1 to automatically update the tags metadata when the +current wiki page is saved: > + let g:vimwiki_list = [{'path': '~/my_site/', 'auto_tags': 1}] + + ------------------------------------------------------------------------------ 12.4 Global Options *vimwiki-global-options*