creole.vim

creole.vim is a vim syntax file for the creole wiki markup standard. It is based on the wiki.vim syntax file from Andreas Kneib.

Screenshot of creole markup with syntax highlighting in vim

Installation

To use this syntax file:

mkdir ~/.vim/syntax
mv ~/creole.vim ~/.vim/syntax/creole.vim
:set syntax=creole

Download

Tips

Write current file and open file under cursor in new tab:

set autochdir
nnoremap gF :w<cr> :tabedit <cfile><cr>

Open all text files with creole syntax highlighting

au BufRead,BufNewFile *.txt setfiletype creole

Snippets for snippetsemu

Snippet { {{{<CR><{}><CR>}}}<CR><{}>
Snippet * **<{}>** <{}> 
Snippet _ __<{}>__ <{}> 
Snippet - --<{}>-- <{}> 
Snippet [ [[<{}>]] <{}> 

Known Issues

  • Nested Formatting is not supported
  • Italic at the beginning of lines does not work