about summary refs log tree commit diff
path: root/init
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-09-27T13·04+0200
committerVincent Ambo <tazjin@gmail.com>2017-09-27T13·04+0200
commitf83eeaf4f8a1d285c560e62313a308d9abf29635 (patch)
tree79fec2e8c58538c879381784945a44ca0fe085f4 /init
parent5683eab48e96ccb78dbeb680269bdff29190cf62 (diff)
chore(clojure): Remove all Clojure settings
Diffstat (limited to 'init')
-rw-r--r--init/clojure.el45
1 files changed, 0 insertions, 45 deletions
diff --git a/init/clojure.el b/init/clojure.el
deleted file mode 100644
index c88c86f4e3c7..000000000000
--- a/init/clojure.el
+++ /dev/null
@@ -1,45 +0,0 @@
-(require 'cider)
-;(require 'ac-cider-compliment)
-
-;; Configure CIDER (Clojure REPL) and clojure-mode
-
-(defun cider-mode-setup ()
-  "Activates paredit, rainbow delimiters and ac-nrepl"
- ; (ac-cider-compliment-setup)
-  (ac-flyspell-workaround)
-  (paredit-mode))
-
-(eval-after-load "auto-complete"
-  '(add-to-list 'ac-modes cider-mode))
-
-(add-hook 'cider-repl-mode-hook 'cider-mode-setup)
-(add-hook 'cider-interaction-mode-hook 'cider-mode-setup)
-(eval-after-load "auto-complete"
-  '(add-to-list 'ac-modes 'cider-repl-mode))
-
-;; Paredit in clojure
-(add-hook 'clojure-mode-hook 'paredit-mode)
-
-;; eldoc in clojure
-(add-hook 'cider-interaction-mode-hook
-          'cider-turn-on-eldoc-mode)
-
-;; Don't annoy me
-(setq cider-hide-special-buffers t)
-(setq cider-popup-stacktraces nil)
-(setq cider-repl-pop-to-buffer-on-connect nil)
-(setq cider-repl-popup-stacktraces t)
-
-;; I want history up/down without modifiers
-(define-key cider-repl-mode-map (kbd "<up>") 'cider-repl-backward-input)
-(define-key cider-repl-mode-map (kbd "<down>") 'cider-repl-forward-input)
-(define-key cider-repl-mode-map (kbd "C-<up>") 'previous-line)
-(define-key cider-repl-mode-map (kbd "C-<down>") 'next-line)
-
-;; ... and ac-cider with C-c C-d
-(define-key cider-repl-mode-map (kbd "C-c C-d") 'ac-cider-compliment-popup-doc)
-(define-key cider-mode-map (kbd "C-c C-d") 'ac-cider-compliment-popup-doc)
-(define-key cider-mode-map (kbd "C-c D") 'cider-doc)
-
-
-(provide 'clojure)