Created
December 7, 2012 22:05
-
-
Save mwoods79/4236895 to your computer and use it in GitHub Desktop.
Some bindings for backbone in rails.vim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Set up some useful Rails.vim bindings for working with Backbone.js | |
autocmd User Rails Rnavcommand template app/assets/javascripts/backbone/templates -glob=**/* -suffix=.jst.ejs | |
autocmd User Rails Rnavcommand jmodel app/assets/javascripts/backbone/models -glob=**/* -suffix=.coffee | |
autocmd User Rails Rnavcommand jview app/assets/javascripts/backbone/views -glob=**/* -suffix=.coffee | |
autocmd User Rails Rnavcommand jcollection app/assets/javascripts/backbone/collections -glob=**/* -suffix=.coffee | |
autocmd User Rails Rnavcommand jrouter app/assets/javascripts/backbone/routers -glob=**/* -suffix=.coffee | |
autocmd User Rails Rnavcommand jspec spec/javascripts -glob=**/* -suffix=.coffee |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment