Simplify purpose-mode configuration
This commit is contained in:
parent
787943df9e
commit
271d87f6a6
13 changed files with 76 additions and 107 deletions
|
|
@ -1,4 +1,6 @@
|
|||
;; Start rvm before starting robe
|
||||
(require 'enh-ruby-mode)
|
||||
|
||||
(defadvice inf-ruby-console-auto (before activate-rvm-for-robe activate)
|
||||
(rvm-activate-corresponding-ruby))
|
||||
|
||||
|
|
@ -28,7 +30,7 @@
|
|||
(add-hook 'enh-ruby-mode-hook 'activate-ruby-mode)
|
||||
|
||||
;; Ruby specific key bindings
|
||||
(evil-leader/set-key-for-mode 'enh-ruby-mode "j" 'robe-jump)
|
||||
(define-key enh-ruby-mode-map (kbd "C-c j") 'robe-jump)
|
||||
|
||||
;;; ERB specific things
|
||||
(add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue