about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-emacs-lisp.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-emacs-lisp.el b/.emacs.d/lisp/init-emacs-lisp.el
index 64cb54b..2f6db9c 100644
--- a/.emacs.d/lisp/init-emacs-lisp.el
+++ b/.emacs.d/lisp/init-emacs-lisp.el
@@ -43,7 +43,8 @@ Start `ielm' if it's not already running."
                        (rainbow-mode +1)
                        (rainbow-delimiters-mode +1)
                        (setq mode-name "EL")
-                       (recompile-init-lisp-on-save)))
+                       (recompile-init-lisp-on-save)
+                       (define-key emacs-lisp-mode-map "\C-c\C-v" erefactor-map)))
   :bind
   (:map emacs-lisp-mode-map
         (("C-c C-z" . visit-ielm)
@@ -56,5 +57,8 @@ Start `ielm' if it's not already running."
          ("C-c e d" . debug-on-entry)
          ("C-c e e" . toggle-debug-on-error))))
 
+
+(use-package erefactor)
+
 (provide 'init-emacs-lisp)
 ;;; init-emacs-lisp.el ends here