I am using vertico for auto complete. When you type M-x
you get a nice menu of the available commands.
I would like to add a similar completion to another prefix keybinding (e.g. C-d
), so when I press C-d
I would see the two commands: deft
and deft-new-file
.
(define-prefix-command 'deft-map)
(global-set-key "\C-d" 'deft-map)
(define-key deft-map "d" 'deft)
(define-key deft-map "n" 'deft-new-file)
Is this possible? If so, how can I implement it?