From e4dd7f91f0b075a913bb4749338da59928ecfc2f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 16 Feb 2016 07:22:23 -0500 Subject: [PATCH] Bind comint-(next|previous)-input to C-n/C-p in REPLs --- core/core-eval.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/core-eval.el b/core/core-eval.el index 6afcfcd58..864565df4 100644 --- a/core/core-eval.el +++ b/core/core-eval.el @@ -26,7 +26,12 @@ (evil-initialize-state 'emacs) (setq mode-line-format nil repl-p t)) - (add-hook! repl-toggle-mode 'narf|repl-init)) + (add-hook! repl-toggle-mode 'narf|repl-init) + :config + (map! :map repl-toggle-mode-map + :i "C-n" 'comint-next-input + :i "C-p" 'comint-previous-input) + ) (provide 'core-eval) ;;; core-eval.el ends here