Processing
Using an External Editor …
On MacOSX (and presumably other operating systems) choose Tools->Install “processing-java” within the PDE. Then in your ~/.vimrc add something like: au BufRead,BufNewFile *.pde set filetype=java nnoremap <F5> :w<CR> :! processing-java --sketch=$PWD/ …