| dokuwiki.vim : A simple syntax file for DokuWiki. 
 
 
  | script karma | Rating 5/4,
    Downloaded by 1514 | Comments, bugs, improvements | Vim wiki |  
 
script versions (upload new version)| created by |  | Bill Powell |  |  |  | script type |  | syntax |  |  |  | description |  | A simple syntax file for DokuWiki. 
 This consists completely of slight modifications to wikipedia.vim, vimscript #1787, so you'll need to get
 that script too, or not much will happen.
 
 I'm no expert, so do let me know if you find any mistakes. My email is in both files. Thanks. :)
 
 This file also provides a few mappings for doing those pesky headers.
 
 ,,h1 through ,,h6 will give you a header. This should allow you to press ",,h1" in INSERT mode, then type your header, then press <C-j> to
 jump to the next line.
 
 (If <C-j> doesn't jump for you, let me know; this may require latex-suite
 (http://vim-latex.sf.net), but that would be a hefty thing to download just for this.)
 
 You can also use ,,hd to demote a header, and ,,hp to promote it.
 |  |  |  | install details |  | First get Wikimedia.vim (vimscript #1787). 
 Then, just copy dokuwiki.vim to your $HOME/.vim/syntax/ directory.
 
 At present, you have to activate this highlighting manually.
 
 :se ft=dokuwiki
 
 because there isn't a canonical extension for DokuWiki files (at least, that I know of). However, you can set all *.txt files to automatically be set to DokuWiki if you wish.
 
 Make or edit $HOME/.vim/ftdetect/txt.vim:
 
 " Taken from http://en.wikipedia.org/wiki/Wikipedia:Text_editor_support#Vim
 " 	Ian Tegebo <ian.tegebo@gmail.com>
 
 augroup filetypedetect
 au BufNewFile,BufRead *.txt,*.wiki setf dokuwiki
 augroup END
 
 Now any *txt or *wiki file should open as dokuwiki.
 |  |  |  
Click on the package to download.
 
ip used for rating: 216.73.216.103 |