Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: e18af24789
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (15 sloc) 0.661 kB
(require 'clojure-mode)
(defadvice clojure-test-run-tests (before save-first activate)
(save-buffer))
(defadvice nrepl-load-current-buffer (before save-first activate)
(save-buffer))
(require 'clj-refactor)
(cljr-add-keybindings-with-modifier "C-s-")
(define-key clj-refactor-map (kbd "C-x C-r") 'cljr-rename-file)
(add-hook 'clojure-mode-hook (lambda () (clj-refactor-mode 1)))
(define-key clojure-mode-map (kbd "s-j") 'clj-jump-to-other-file)
(eval-after-load "nrepl"
'(progn
(define-key nrepl-mode-map (kbd "C-,") 'complete-symbol)
(define-key nrepl-interaction-mode-map (kbd "C-,") 'complete-symbol)))
(provide 'setup-clojure-mode)
Jump to Line
Something went wrong with that request. Please try again.