Are there any Vim users on this forum? I’m not sure how many people use Vim with Ember, but if you are a Vim user you might be interested in a Vim plugin I’ve built for Ember.
It’s inspired by the vim-rails plugin by @tpope. It has similar features like Alternate and Related, :Efoo Ex-commands, that I’ve adapted to work with Emberjs.
Here’s some of the things currently working,
Alternate and Related navigation with :A and :R
Resource navigation with :(E|S|T|V|D)resource
CtrlP based fuzzy searching for resources
New file creation with :Emodel post!
Simple refactoring with :Esource destination
Ember Appkit based project layout
Boilerplate for Javascript and Coffeescript files
Improved syntax highlighting for Javascript, Coffeescript and Handlebars files
I don’t know why but I’m having troubles getting this to load. I’m using janus and am cloning it into my ~/.janus directory. Anyone have any experience doing this?
Thanks for the information! I abandoned janus last night due to it doing too many things and slowing my Vim down but I’m still experiencing difficulties with this for some reason. I keep getting “:Emodel” command is not defined. I have the portkey.json right next to my package.json. That should be the correct place for it right? I have installed portkey via pathogen. I customized my .vimrc to your specs. I’m not sure what else I’m missing.
EDIT: It is working now. Great stuff. Thanks so much!
You should also try Vundle. It’s basically does the manual git clone stuff that pathogen requires, for you. And can autoupdate plugins with an Ex command like BundleUpdate.
It’s sort of like Janus but native Viml. And importantly makes your vimrc portable.