Fix settings for nrepl.el -> cider

This commit is contained in:
Vincent Ambo 2013-10-19 20:04:45 +02:00
parent 47f5ddebc0
commit 6aba1cbda9
3 changed files with 27 additions and 28 deletions

View file

@ -54,4 +54,17 @@
;; Create new frame
(define-key global-map (kbd "C-x C-n") 'make-frame-command)
;; Cider/nrepl stuff
;; I want history up/down without modifiers
(define-key cider-repl-mode-map (kbd "<up>") 'cider-backward-input)
(define-key cider-repl-mode-map (kbd "<down>") 'cider-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-nrepl-popup-doc)
(define-key cider-mode-map (kbd "C-c C-d") 'ac-nrepl-popup-doc)
(define-key cider-mode-map (kbd "C-c D") 'cider-doc)
(provide 'init-bindings)