diff --git a/init-modes.el b/init-modes.el index 7a66bb2a6..7a6a8e21b 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 "") 'nrepl-backward-input) -(define-key nrepl-mode-map (kbd "") 'nrepl-forward-input) -(define-key nrepl-mode-map (kbd "C-") 'previous-line) -(define-key nrepl-mode-map (kbd "C-") 'next-line) -(define-key nrepl-mode-map (kbd "C-c C-d") 'ac-nrepl-popup-doc) +(define-key nrepl-repl-mode-map (kbd "") 'nrepl-backward-input) +(define-key nrepl-repl-mode-map (kbd "") 'nrepl-forward-input) +(define-key nrepl-repl-mode-map (kbd "C-") 'previous-line) +(define-key nrepl-repl-mode-map (kbd "C-") '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) diff --git a/init.el b/init.el index 4abdac188..cb3566777 100644 --- a/init.el +++ b/init.el @@ -60,6 +60,9 @@ (setq custom-file "~/.emacs.d/init-custom.el") (load custom-file) +(custom-download-script "https://gist.github.com/gongo/1789605/raw/526e3f21dc7d6cef20951cf0ce5d51b90b7821ff/json-reformat.el" + "json-reformat.el") + ;; A file with machine specific settings. (load-file-if-exists "~/.emacs.d/init-local.el")