based on github.com/juvenn/mustache.vim.git dustjs.vim for working with dust js templates (http://akdubya.github.com/dustjs/).
cd ~/.vim/
git submodule add git://github.com/jimmyhchan/dustjs.vim.git bundle/dustjs
vim bundle/dustjs/example.dust
-
NERDCommenter add this: let g:NERDCustomDelimiters = { 'dustjs': { 'left': '{!', 'right': '!}' } }
-
tpope's surround let g:surround_{char2nr('d')} = "{\r}"
-
snipmate (https://github.com/garbas/vim-snipmate) snipmate should be pathogen aware so it should work out of the box
- Github/juvenn for the mustache.vim plugin
- Github/akdubya for dust.js