update about wiki page navigation

master
https://www.google.com/accounts/o8/id?id=AItOawn1lGvpPZ8dpuLSPLPa-jqpMef2KqeB1qI 2010-01-23 16:37:42 +00:00 committed by Joey Hess
parent b3b2402647
commit d0a06e6952
1 changed files with 8 additions and 0 deletions

View File

@ -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