diff --git a/oni-elisp.el b/oni-elisp.el index d3b0313..9f055ed 100644 --- a/oni-elisp.el +++ b/oni-elisp.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190213225638 -;; Package-Requires: (oni-company oni-flycheck paredit rainbow-delimiters nameless fill-column-indicator) +;; Version: 20190218234734 +;; Package-Requires: (oni-company oni-flycheck paredit rainbow-delimiters nameless fill-column-indicator erefactor) ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -26,12 +26,17 @@ ;;; Code: -(add-hook 'emacs-lisp-mode-hook 'paredit-mode) -(add-hook 'emacs-lisp-mode-hook 'rainbow-delimiters-mode) +(require 'erefactor) + (add-hook 'emacs-lisp-mode-hook 'company-mode) +(add-hook 'emacs-lisp-mode-hook 'erefactor-lazy-highlight-turn-on) +(add-hook 'emacs-lisp-mode-hook 'fci-mode) (add-hook 'emacs-lisp-mode-hook 'flycheck-mode) (add-hook 'emacs-lisp-mode-hook 'nameless-mode) -(add-hook 'emacs-lisp-mode-hook 'fci-mode) +(add-hook 'emacs-lisp-mode-hook 'paredit-mode) +(add-hook 'emacs-lisp-mode-hook 'rainbow-delimiters-mode) + +(define-key emacs-lisp-mode-map (kbd "C-c C-v") erefactor-map) ;;;###autoload(with-eval-after-load 'elisp-mode (require 'oni-elisp))