Fix settings for nrepl.el -> cider
This commit is contained in:
parent
47f5ddebc0
commit
6aba1cbda9
3 changed files with 27 additions and 28 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue