Skip to content

Commit

Permalink
fix(emacs): minibuffer: hotkeys: add for cycling entries
Browse files Browse the repository at this point in the history
Not sure why evil-collection doesn't work hmmm
  • Loading branch information
gekoke committed Feb 12, 2025
1 parent efe5ad1 commit fd47b70
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/nixos/programs/emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -360,14 +360,19 @@
:general
(general-def
"M-e" #'embark-export))

(use-package vertico
:init
(vertico-mode)
:custom
(enable-recursive-minibuffers t)
;; Hide commands in M-x which do not work in the current mode.
(read-extended-command-predicate #'command-completion-default-include-p)
(vertico-cycle t))
(vertico-cycle t)
:general
(general-def minibuffer-local-map
"M-j" #'next-line-or-history-element
"M-k" #'previous-line-or-history-element))

(use-package marginalia
:init
Expand Down

0 comments on commit fd47b70

Please sign in to comment.