diff options
Diffstat (limited to 'init-modes.el')
-rw-r--r-- | init-modes.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/init-modes.el b/init-modes.el index 7a66bb2a6a46..7a6a8e21b077 100644 --- a/init-modes.el +++ b/init-modes.el @@ -35,11 +35,11 @@ (add-hook 'nrepl-interaction-mode-hook 'ac-nrepl-setup) ;; I want history up/down without modifiers -(define-key nrepl-mode-map (kbd "<up>") 'nrepl-backward-input) -(define-key nrepl-mode-map (kbd "<down>") 'nrepl-forward-input) -(define-key nrepl-mode-map (kbd "C-<up>") 'previous-line) -(define-key nrepl-mode-map (kbd "C-<down>") 'next-line) -(define-key nrepl-mode-map (kbd "C-c C-d") 'ac-nrepl-popup-doc) +(define-key nrepl-repl-mode-map (kbd "<up>") 'nrepl-backward-input) +(define-key nrepl-repl-mode-map (kbd "<down>") 'nrepl-forward-input) +(define-key nrepl-repl-mode-map (kbd "C-<up>") 'previous-line) +(define-key nrepl-repl-mode-map (kbd "C-<down>") 'next-line) +(define-key nrepl-repl-mode-map (kbd "C-c C-d") 'ac-nrepl-popup-doc) (define-key nrepl-interaction-mode-map (kbd "C-c C-d") 'ac-nrepl-popup-doc) (define-key nrepl-interaction-mode-map (kbd "C-c D") 'nrepl-doc) |