Remove redundant condition

This commit is contained in:
Henrik Lissner 2020-06-06 18:00:51 -04:00
parent 2685fb2141
commit 9cc98c73d4
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -20,19 +20,18 @@
"C-w" #'doom/delete-backward-word "C-w" #'doom/delete-backward-word
"C-z" (cmd! (ignore-errors (call-interactively #'undo)))) "C-z" (cmd! (ignore-errors (call-interactively #'undo))))
(when (featurep! :editor evil +everywhere) (define-key! :keymaps +default-minibuffer-maps
(define-key! :keymaps +default-minibuffer-maps "C-j" #'next-line
"C-j" #'next-line "C-k" #'previous-line
"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) ;; For folks with `evil-collection-setup-minibuffer' enabled
;; For folks with `evil-collection-setup-minibuffer' enabled (define-key! :states 'insert :keymaps +default-minibuffer-maps
(define-key! :states 'insert :keymaps +default-minibuffer-maps "C-j" #'next-line
"C-j" #'next-line "C-k" #'previous-line)
"C-k" #'previous-line) (define-key! read-expression-map
(define-key! read-expression-map "C-j" #'next-line-or-history-element
"C-j" #'next-line-or-history-element "C-k" #'previous-line-or-history-element))
"C-k" #'previous-line-or-history-element)))
;; ;;