Fix vertico hotkeys

This commit is contained in:
outfoxxed 2023-08-13 12:46:25 -07:00
parent 27e65e61ab
commit 1d7e47eb72
Signed by: outfoxxed
GPG Key ID: 4C88A185FB89301E
1 changed files with 2 additions and 2 deletions

View File

@ -129,8 +129,8 @@
(dotimes (i 9)
(keymap-set vertico-map (format "M-%d" (+ i 1))
`(lambda () (interactive)
(let ((current-prefix-arg (+ ,i 1)))
(call-interactively #'vertico-exit)))))
(setq vertico--index ,i)
(vertico-exit))))
(vertico-indexed-mode))
;; Editorconfig support