aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhttps://www.google.com/accounts/o8/id?id=AItOawn1lGvpPZ8dpuLSPLPa-jqpMef2KqeB1qI <https://www.google.com/accounts/o8/id?id=AItOawn1lGvpPZ8dpuLSPLPa-jqpMef2KqeB1qI@web>2010-01-23 16:37:42 +0000
committerJoey Hess <joey@finch.kitenet.net>2010-01-23 16:37:42 +0000
commitd0a06e6952f13a9a0c7d2959e393f700ee66c192 (patch)
tree4703c767dd02636c8e82e9e79739d09d41e79d5c /doc
parentb3b2402647e1628cea76922f5a6dc12adaa5a2b7 (diff)
downloadikiwiki-d0a06e6952f13a9a0c7d2959e393f700ee66c192.tar
ikiwiki-d0a06e6952f13a9a0c7d2959e393f700ee66c192.tar.gz
update about wiki page navigation
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn b/doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn
index 1f67a041d..9545fda53 100644
--- a/doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn
+++ b/doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn
@@ -2,6 +2,14 @@ I wrote a vim function to help me navigate the wiki when I'm editing it. It exte
This function takes into account the ikiwiki linking rules when deciding which file to go to.
+> 'gf' gets in the way when there are directories with the same name of a wiki page. The
+> function below doesn't implement the linking rules properly (test the link (ignoring case),
+> if there is no match ascend the dir. hierarchy and start over, until we reach the root of
+> the wiki). I'm rewriting it to follow these rules properly
+>
+> I think the page for [[LinkingRules|ikiwiki/subpage/linkingrules]] should say that ikiwiki **ascends**
+> the dir. hierarchy when looking for a wikilink, not that it **descends** it. Am I correct? --[[jerojasro]]
+
let me know what you think
To enable this functionality, paste the code below in your `.vim/ftplugin/ikiwiki.vim` file