wikipedia.vim : Syntax highlighting for MediaWiki articles
| script karma
Downloaded by 3696
Comments, bugs, improvements
script versions (upload new version)
|This file is for people who use external editors to work on articles on Wikipedia and other MediaWiki sites. Please note that I didn't write this -- it was downloaded from http://en.wikipedia.org/wiki/Wikipedia%3AText_editor_support#Vim and may well be more up-to-date there. If the version here is out of date contact me and I'll upload the improved version.
Version 1 of this script also contains a few settings to better deal with the fact that MediaWiki articles only contain newlines between paragraphs, you may prefer to remove those and put them in ~/.vim/ftplugin/Wikipedia.vim. In version 2 these have been moved to a separate file.
au BufNewFile,BufRead *.wiki setf Wikipedia
Click on the package to download.
ip used for rating: 22.214.171.124
||Copied directly from http://en.wikipedia.org/wiki/Wikipedia:Text_editor_support#Vim
See that page for further options for editing long paragraphs written without line breaks.
||Again, I didn't write this, I'm just uploading a new version from http://en.wikipedia.org/wiki/Wikipedia%3AText_editor_support#Vim so it will be distributed more widely.
Full credit for this upgrade goes to Ian Tegebo, username yontege on this site, who emailed me updated versions of these files and suggested that I upload them here.
This package includes the following files: