diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index e836f0b..5f969ca 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -1356,6 +1356,7 @@ from myaethon2.core.decorators import ( (add-hook 'yas-global-mode-hook 'oni:yas-minor-mode-func) (add-hook 'ert-results-mode-hook (lambda () (setq truncate-lines nil))) (add-hook 'ruby-mode-hook (lambda () (setq-local fci-rule-column 80))) +(add-hook 'projectile-rails-mode-hook (lambda () (define-key projectile-rails-mode-map (kbd "C-c r") 'hydra-projectile-rails/body))) (add-hook 'projectile-mode-hook 'projectile-rails-on) (add-hook 'ruby-mode-hook 'yard-mode) (add-hook 'ruby-mode-hook 'eldoc-mode)