]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/tips/vim_and_ikiwiki.mdwn
git: Turn $git_dir into a stack
[git.ikiwiki.info.git] / doc / tips / vim_and_ikiwiki.mdwn
1 [[!meta date="2010-09-12 19:25:38 -0500"]]
3 # Vim and ikiwiki
5 ## Syntax highlighting
7 [ikiwiki-syntax](http://www.vim.org/scripts/script.php?script_id=3156) is a vim
8 syntax highlighting file for ikiwiki [[ikiwiki/markdown]] files. It highlights
9 directives and wikilinks. It only supports prefixed directives, i.e.,
10 \[[!directive foo=bar baz]], not the old format with spaces.
12 ------
14 The previous syntax definition for ikiwiki links is at [[vim_syntax_highlighting/ikiwiki.vim]]; however,
15 it seems to not be [[maintained
16 anymore|forum/navigation_of_wiki_pages_on_local_filesystem_with_vim#syn-maintenance]],
17 and it has some [[issues|forum/ikiwiki_vim_syntaxfile]].
19 ## Page creation and navigation
21 The [ikiwiki-nav](http://www.vim.org/scripts/script.php?script_id=2968) package
22 is a vim plugin that enables you to do the following from inside vim:
24   * Jumping to the file corresponding to the wikilink under the cursor.
25   * Creating the file corresponding to the wikilink under the cursor (including
26   directories if necessary.)
27   * Jumping to the previous/next wikilink in the current file.
28   * Autocomplete link names.
30 Download it from [here](http://www.vim.org/scripts/script.php?script_id=2968)