mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Don't unbind keys when passed a label to :prefix
Fixes an issue where (map! :leader :prefix ("f" . "asdasdas") ...) Would unbind SPC f before adding your new keybinds.
This commit is contained in:
@ -250,7 +250,7 @@ For example, :nvi will map to (list 'normal 'visual 'insert). See
|
||||
((setq def (cons 'list
|
||||
(if (and (equal key "")
|
||||
(null def))
|
||||
`(nil :which-key ,desc)
|
||||
`(:ignore t :which-key ,desc)
|
||||
(plist-put (general--normalize-extended-def def)
|
||||
:which-key desc))))))))
|
||||
(dolist (state states)
|
||||
|
Reference in New Issue
Block a user