Fix C-{j,k} in non-read-expression prompts

This commit is contained in:
Henrik Lissner 2019-06-26 18:29:11 +02:00
parent 525cba3f3b
commit d697cb7ec7
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -905,7 +905,11 @@ To change these keys see `+default-repeat-keys'."
"C-b" #'backward-word "C-b" #'backward-word
"C-r" #'evil-paste-from-register "C-r" #'evil-paste-from-register
;; Scrolling lines ;; Scrolling lines
"C-j" #'next-line-or-history-element "C-j" #'next-line
"C-k" #'previous-line-or-history-element "C-k" #'previous-line
"C-S-j" #'scroll-up-command "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))