Skip to content

Commit

Permalink
vertico: fix scroll direction of C-u/C-d
Browse files Browse the repository at this point in the history
  • Loading branch information
vhqr0 authored and condy0919 committed Apr 20, 2023
1 parent d9a70ef commit 5092f5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modes/vertico/evil-collection-vertico.el
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@
(when evil-collection-setup-minibuffer
(when evil-want-C-u-scroll
(evil-collection-define-key 'normal 'vertico-map
(kbd "C-u") 'vertico-scroll-up)
(kbd "C-u") 'vertico-scroll-down)
(unless evil-want-C-u-delete
(evil-collection-define-key 'insert 'vertico-map
(kbd "C-u") 'vertico-scroll-up)))
(kbd "C-u") 'vertico-scroll-down)))
(when evil-want-C-d-scroll
(evil-collection-define-key 'normal 'vertico-map
(kbd "C-d") 'vertico-scroll-down))
(kbd "C-d") 'vertico-scroll-up))

(evil-collection-define-key 'normal 'vertico-map
"gj" 'vertico-next-group
Expand Down

0 comments on commit 5092f5e

Please sign in to comment.