It's like vim-rails, but it's for Ember.
- Navigation commands. Use
:Emodel
,:Ecomponent
, etc., to:edit
files. TheV
,S
, andT
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, useg
to surround inthis.get('')
,s
to surround inthis.set('')
, and$
to surround in${}
.
- Install projectionist for the navigation commands.
- Install surround for the surround maps.
All credit is due to His Holyness tpope. I basically cloned vim-rails and s/rails/ember
ed.
If you like this plugin, let's be internet friends on Twitter or GitHub.
Copyright (c) Cam Thompson. Distributed under the same terms as Vim itself. See :help license
.