From 2e9dcb54b11b4a87c22f5e481ce4f63db4d08eae Mon Sep 17 00:00:00 2001 From: Adam Sokolnicki Date: Wed, 18 Jul 2018 09:48:44 +0200 Subject: [PATCH] Add the missing keybindings in ruby-on-rails layer --- layers/+frameworks/ruby-on-rails/README.org | 3 +++ layers/+frameworks/ruby-on-rails/packages.el | 3 +++ 2 files changed, 6 insertions(+) diff --git a/layers/+frameworks/ruby-on-rails/README.org b/layers/+frameworks/ruby-on-rails/README.org index 2e7be42ca..1a286ffa2 100644 --- a/layers/+frameworks/ruby-on-rails/README.org +++ b/layers/+frameworks/ruby-on-rails/README.org @@ -33,6 +33,7 @@ file. | Key binding | Description | |---------------+-----------------------------------------------------------------| | ~SPC m f f a~ | find localization file | +| ~SPC m f f b~ | find job | | ~SPC m f f c~ | find controller | | ~SPC m f f e~ | find environment file | | ~SPC m f f f~ | find feature | @@ -50,6 +51,7 @@ file. | ~SPC m f f t~ | find test | | ~SPC m f f u~ | find fixture | | ~SPC m f f v~ | find view | +| ~SPC m f f w~ | find webpack config | | ~SPC m f f y~ | find layout | | ~SPC m f f @~ | find mailer | | ~SPC m f g c~ | go to current controller | @@ -81,6 +83,7 @@ file. |---------------+----------------------| | ~SPC m f :~ | run rake task | | ~SPC m f c c~ | run rails generator | +| ~SPC m f c d~ | run rails destroy | | ~SPC m f i~ | start rails console | | ~SPC m f s r~ | reload Rails project | | ~SPC m f x s~ | start rails server | diff --git a/layers/+frameworks/ruby-on-rails/packages.el b/layers/+frameworks/ruby-on-rails/packages.el index 6b05a1eb7..8bc30a3a8 100644 --- a/layers/+frameworks/ruby-on-rails/packages.el +++ b/layers/+frameworks/ruby-on-rails/packages.el @@ -26,6 +26,7 @@ ;; Find files (spacemacs/set-leader-keys-for-minor-mode 'projectile-rails-mode "ffa" 'projectile-rails-find-locale + "ffb" 'projectile-rails-find-job "ffc" 'projectile-rails-find-controller "ffe" 'projectile-rails-find-environment "fff" 'projectile-rails-find-feature @@ -42,6 +43,7 @@ "fft" 'projectile-rails-find-test "ffu" 'projectile-rails-find-fixture "ffv" 'projectile-rails-find-view + "ffw" 'projectile-rails-find-webpack "ffy" 'projectile-rails-find-layout "ff@" 'projectile-rails-find-mailer ;f Goto file @@ -64,6 +66,7 @@ ;; Rails external commands "f:" 'projectile-rails-rake "fcc" 'projectile-rails-generate + "fcd" 'projectile-rails-destroy "fi" 'projectile-rails-console "fxs" 'projectile-rails-server ;; Refactoring 'projectile-rails-mode