Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Latest commit

 

History

History
31 lines (21 loc) · 779 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 779 Bytes

Vim for Dustjs

based on github.com/juvenn/mustache.vim.git dustjs.vim for working with dust js templates (http://akdubya.github.com/dustjs/).

Install for pathogen

cd ~/.vim/
git submodule add git://github.com/jimmyhchan/dustjs.vim.git bundle/dustjs
vim bundle/dustjs/example.dust

extra stuff added for working with other plugins

  • 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

Thanks