diff options
author | Tom Willemse | 2015-09-28 23:12:50 +0200 |
---|---|---|
committer | Tom Willemse | 2015-09-28 23:12:50 +0200 |
commit | d2621b43caf289b8b463e91c89d7a337279045d6 (patch) | |
tree | f5d50fbb3166dc61ce9eb5d27feb825428b0ee0d /emacs | |
parent | 2ac78884b044e065fc6e8bcbb8f4e1c46bd877e0 (diff) | |
download | dotfiles-d2621b43caf289b8b463e91c89d7a337279045d6.tar.gz dotfiles-d2621b43caf289b8b463e91c89d7a337279045d6.zip |
Use hydra for projectile-rails
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/init.el | 1 |
1 files changed, 1 insertions, 0 deletions
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) |