sponsor Vim development Vim logo Vim Book Ad

wikinotes : Wikipedia syntax with added functionality for taking notes

 script karma  Rating 4/5, Downloaded by 873  Comments, bugs, improvements  Vim wiki

created by
Thomas Schmall
 
script type
syntax
 
description
It is very practical to keep all kinds of notes in simple text files (as for example suggested in David Allen's "Getting Things Done" and blogs like joelonsoftware.com).

Combining this with the editing mightiness of vim and some syntax highlighting for better structuring, you've got an easy but powerful tool for notes at your hand.

I used the Wikipedia syntax as base, since it's proven simple human-readable syntax, that is well known.
Then I added a few features like c-style commenting and html link highlighting.

Screenshot: http://www.oxpal.com/downloads/vim/wikinotes_syntax.png

It's most practical when setting this syntax file as standard for .txt or .wiki files. It then can also be used for editing actual Wikipedia text using vim (you might want to check out the firefox "it's all text" extension).
 
install details
Copy into your syntax folder as usual and activate it with:
:set syntax=wikinotes

By adding the following line to your filetypes.vim, you can make  vim open all .wiki files automatically with this syntax:
au BufNewFile,BufRead *.wiki setf wikinotes
(replace *.wiki if you prefer another file extension)
 

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
wikinotes.vim 1.0 2009-11-02 5.7 Thomas Schmall Initial upload.
ip used for rating: 34.204.176.71

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.
   
Vim at Github