about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-10-04T22·12+0200
committerVincent Ambo <vincent@spotify.com>2013-10-04T22·12+0200
commita4e7f10362c807e5494debc2810f490cb2350608 (patch)
tree07a113d73a8e490d95c479dfb18d2e394177162f
parent9a9c9192b1e060ace939c35150042cbcfb164bd6 (diff)
updated init-modes for new nrepl.el
-rw-r--r--init-modes.el10
-rw-r--r--init.el3
2 files changed, 8 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)
diff --git a/init.el b/init.el
index 4abdac188a63..cb35667772c6 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")