Add the missing keybindings in ruby-on-rails layer

This commit is contained in:
Adam Sokolnicki 2018-07-18 09:48:44 +02:00 committed by Codruț Constantin Gușoi
parent 1671f53f93
commit 2e9dcb54b1
2 changed files with 6 additions and 0 deletions

View File

@ -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 |

View File

@ -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