To to get one-keystroke save compile run of processing in vim, set it to the makeprg in the vimrc: autocmd BufNewFile,BufRead *.pde set makeprg=mkdir\ -p\ ./output\ &&\ processing-java\ --sketch=\"`pwd`\"\ --output=\"`pwd`\"/output\ --run\ --force Note that this creates the dummy directory output. I've tried with mktemp and haven't gotten it to work. Then assign the makeprg to a key: nnoremap :wa:make The benefit of this is that different file types can set the makeprg to whatever is appropriate, and the key is always the same (Tab, in this case).