From d697cb7ec770bbb1aad6fbb60219e9b9cd1c9eee Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 26 Jun 2019 18:29:11 +0200 Subject: [PATCH] Fix C-{j,k} in non-read-expression prompts --- modules/config/default/+evil-bindings.el | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index 18e72bc87..b8ae4a536 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -905,7 +905,11 @@ To change these keys see `+default-repeat-keys'." "C-b" #'backward-word "C-r" #'evil-paste-from-register ;; Scrolling lines - "C-j" #'next-line-or-history-element - "C-k" #'previous-line-or-history-element + "C-j" #'next-line + "C-k" #'previous-line "C-S-j" #'scroll-up-command - "C-S-k" #'scroll-down-command)) + "C-S-k" #'scroll-down-command) + + (define-key! read-expression-map + "C-j" #'next-line-or-history-element + "C-k" #'previous-line-or-history-element))