commit f7725fb506db67ef1f8b9d10a0076d2e4667c2e0
parent 684645925583075d5aa9a0d64f7aba9af5c9833a
Author: EinfachToll <istjanichtzufassen@googlemail.com>
Date: Wed, 13 May 2015 11:10:25 +0200
Clarify use of links to directories
Fix #138
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt
@@ -760,7 +760,8 @@ absolute to the wiki root directory, that is, the link [[/index]] always opens
the file /path/to/your/wiki/index.wiki, no matter in which subdirectory you
are currently in.
-Links to directories (ending with a "/") are also supported: >
+Links to subdirectories inside the wiki directory are also supported. They
+end with a "/": >
[[a subdirectory/|Other files]]
Use |g:vimwiki_dir_link| to control the behavior when opening directories.
@@ -1154,6 +1155,7 @@ using absolute or relative paths with extension: >
[[file:~/a/b/c/music.mp3]]
[[file:../assets/data.csv|data (CSV)]]
[[local:C:/Users/somebody/d/e/f/music.mp3]]
+ [[file:/home/user/documents/|Link to a directory]]
In Vim, "file:" and "local:" behave the same, i.e. you can use them with both
relative and absolute links. When converted to HTML, however, "file:" links