Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add clj-refactor

  • Loading branch information...
commit 0139dfc52aff587e31f86d6a0effb7f2c3b1bb8a 1 parent 1daa124
Magnar Sveen authored February 08, 2013
3  .gitmodules
@@ -109,3 +109,6 @@
109 109
 [submodule "site-lisp/fold-this"]
110 110
 	path = site-lisp/fold-this
111 111
 	url = https://github.com/magnars/fold-this.el.git
  112
+[submodule "site-lisp/clj-refactor"]
  113
+	path = site-lisp/clj-refactor
  114
+	url = https://github.com/magnars/clj-refactor.el.git
6  setup-clojure-mode.el
@@ -9,6 +9,12 @@
9 9
 (defadvice nrepl-load-current-buffer (before save-first activate)
10 10
   (save-buffer))
11 11
 
  12
+(require 'clj-refactor)
  13
+(add-hook 'clojure-mode-hook (lambda ()
  14
+                               (clj-refactor-mode 1)
  15
+                               (cljr-add-keybindings-with-modifier "C-s-")
  16
+                               (define-key clj-refactor-map (kbd "C-x C-r") 'cljr-rename-file)))
  17
+
12 18
 (eval-after-load "nrepl"
13 19
   '(progn
14 20
      (define-key nrepl-mode-map (kbd "C-,") 'complete-symbol)
1  site-lisp/clj-refactor
... ...
@@ -0,0 +1 @@
  1
+Subproject commit b48fdbb8834f62e437f790d033477b28f6f235dd

0 notes on commit 0139dfc

Please sign in to comment.
Something went wrong with that request. Please try again.