diff options
author | Alan Pearce | 2014-09-14 11:15:31 +0100 |
---|---|---|
committer | Alan Pearce | 2014-09-14 11:15:31 +0100 |
commit | cd1a3326276e5229e458714dcfed493ad2ff81df (patch) | |
tree | 6d7030a94eded23bef9b36e85db4d880e1545dd2 /tag-emacs/emacs.d/init.el | |
parent | e241ad6d6bb4431f71ed903a3449720cdcea2c9b (diff) | |
download | nixfiles-cd1a3326276e5229e458714dcfed493ad2ff81df.tar.lz nixfiles-cd1a3326276e5229e458714dcfed493ad2ff81df.tar.zst nixfiles-cd1a3326276e5229e458714dcfed493ad2ff81df.zip |
Emacs: Install clj-refactor-mode
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 9b43ba48..10bdea93 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1181,6 +1181,16 @@ mouse-1: Display Line and Column Mode Menu")))))) (add-hook 'cider-repl-mode-hook (lambda () (highlight-changes-mode -1))) (add-hook 'clojure-mode-hook #'ap/lisp-setup))) +(req-package clj-refactor + :defer t + :require clojure-mode + :config (progn + (cljr-add-keybindings-with-prefix "C-c C-m")) + :init (progn + (defun turn-on-clj-refactor-mode () + (clj-refactor-mode 1)) + (add-hook 'clojure-mode-hook #'turn-on-clj-refactor-mode))) + (req-package cider :require clojure-mode :defer t |