Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.47 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.47 KB

ember.vim

It's like vim-rails, but it's for Ember.

  • Navigation commands. Use :Emodel, :Ecomponent, etc., to :edit files. The V, S, and T variants use :vsplit, :split, and :tabedit, respectively.
  • ember-cli interface. Run :Egenerate and :Edestroy from inside vim. :Egenerate model foo generates the foo model and loads the generated files into the quickfix list.
  • vim-surround integration. In Handlebars files, use { to surround in mustaches. In JavaScript files, use g to surround in this.get(''), s to surround in this.set(''), and $ to surround in ${}.

Dependencies

Credits

All credit is due to His Holyness tpope. I basically cloned vim-rails and s/rails/embered.

Self Promotion

If you like this plugin, let's be internet friends on Twitter or GitHub.

License

Copyright (c) Cam Thompson. Distributed under the same terms as Vim itself. See :help license.