asok / projectile-rails

Emacs Rails mode based on projectile
258 stars 59 forks source link

Related files; S, V, and T variants #95

Closed jmromer closed 8 years ago

jmromer commented 8 years ago

vim-rails can jump not only to alternate files (:A) but also related ones (:R). It also defines "S", "V", and "T" variants to open an alternate or related file in a split, vertical split, or new tab.

I'm curious if it would be feasible to implement comparable behavior in projectile-rails. I'm up for taking a stab at it if there's interest—this would be very useful to me, as :AS and :RV were go-tos for me in Vim.

asok commented 8 years ago

@jkrmr first of all projectile which this package depends on has projectile-find-other-file. There's also projectile-find-other-file-other-window.

Look at evil-rails. I think that if you would like to implement :AS, :RV you should do it for that package.

jmromer commented 8 years ago

first of all projectile which this package depends on has projectile-find-other-file. There's also projectile-find-other-file-other-window

Thanks, but I'm not able to get the desired behavior out of those -- I pretty much always just see No other file found.

Look at evil-rails. I think that if you would like to implement :AS, :RV you should do it for that package

Oh that's right. That would be a more appropriate place for this, wouldn't it? Sorry about that. đŸ™‡