sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

wikipedia.vim : Syntax highlighting for MediaWiki articles

 script karma  Rating 48/33, Downloaded by 3653    Comments, bugs, improvements  Vim wiki

created by
Matt C
script type
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.
install details
augroup filetypedetect
au BufNewFile,BufRead *.wiki setf Wikipedia
augroup END

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
Wikipedia.tar.gz 3 2011-11-17 7.0 Matt C 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.
Wikipedia.tar.gz 2 2007-08-21 6.0 Matt C 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:
wikipedia.vim 1 2007-01-29 6.0 Matt C Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo