aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Rojas <jerojasro@devnull.li>2010-02-08 23:37:24 -0500
committerJavier Rojas <jerojasro@devnull.li>2010-02-08 23:37:24 -0500
commit59868bce02f10e1ed378f5625618198daca58d3a (patch)
treeae438ae3a331c8a3311efa6d80d96b072f3d2fe8
parent06a56ea9d51d472175cb9279d92f9fb7a62fdf46 (diff)
downloadikiwiki-59868bce02f10e1ed378f5625618198daca58d3a.tar
ikiwiki-59868bce02f10e1ed378f5625618198daca58d3a.tar.gz
more notes about the ikiwiki-nav plugin
added installation notes added pointer in the forum page to the created tip
-rw-r--r--doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn4
-rw-r--r--doc/tips/follow_wikilinks_from_inside_vim.mdwn4
2 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 0497b66b6..980b92740 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
@@ -1,3 +1,7 @@
+**UPDATE** I have created a [[page|tips/follow_wikilinks_from_inside_vim]] in
+the tips section about the plugin, how to get it, install it and use it. Check
+that out. --[[jerojasro]]
+
I wrote a vim function to help me navigate the wiki when I'm editing it. It extends the 'gf' (goto file) functionality. Once installed, you place the cursor on a wiki page name and press 'gf' (without the quotes); if the file exists, it gets loaded.
This function takes into account the ikiwiki linking rules when deciding which file to go to.
diff --git a/doc/tips/follow_wikilinks_from_inside_vim.mdwn b/doc/tips/follow_wikilinks_from_inside_vim.mdwn
index 93a95bc7a..df8145a51 100644
--- a/doc/tips/follow_wikilinks_from_inside_vim.mdwn
+++ b/doc/tips/follow_wikilinks_from_inside_vim.mdwn
@@ -23,6 +23,10 @@ move into
* `:IkiNextWikiLink 0` will look forward for the wikilink
* `:IkiNextWikiLink 1` will look backwards for the wikilink
+## Installation
+
+Copy the `ikiwiki_nav.vim` file to your `.vim/ftplugin` directory.
+
## Current issues:
* The plugin only works for wikilinks contained in a single text line;