Add missing prefixes for ruby-on-rails layer

This commit is contained in:
Seong Yong-ju 2019-02-12 01:10:05 +09:00 committed by smile13241324
parent cb75920bb7
commit 3afd959181
2 changed files with 5 additions and 1 deletions

View File

@ -1943,6 +1943,7 @@ Other:
- Changed leader keys to be configured for the =projectile-rails-mode= minor
mode instead of =ruby-mode= and =enh-ruby-mode= so that the key bindings will
work in view file windows (thanks to Adam Sokolnicki)
- Added missing prefixes for =ruby-mode= and =enh-ruby-mode=
- Added key bindings: (thanks to Adam Sokolnicki)
- ~SPC m f f b~ to find job
- ~SPC m f f w~ to find webpack config

View File

@ -73,7 +73,10 @@
"fRx" 'projectile-rails-extract-region)
(dolist (mode '(ruby-mode enh-ruby-mode))
(spacemacs/declare-prefix-for-mode mode "mf" "rails/rubocop")
(spacemacs/declare-prefix-for-mode mode "mf" "rails")
(spacemacs/declare-prefix-for-mode mode "mfc" "generate/destroy")
(spacemacs/declare-prefix-for-mode mode "mfR" "extract")
(spacemacs/declare-prefix-for-mode mode "mfx" "server")
(spacemacs/declare-prefix-for-mode mode "mff" "file")
(spacemacs/declare-prefix-for-mode mode "mfg" "goto"))