fix(vertico): prefix-help-command
- move the setq to the embark use-package where it belongs - also set which-key-use-C-h-commands to nil, otherwise sometimes which-key will override the prefix-help-command setting
This commit is contained in:
parent
6b5c34a1db
commit
4613c74d8b
1 changed files with 2 additions and 1 deletions
|
@ -82,7 +82,6 @@ overrides `completion-styles' during company completion sessions.")
|
||||||
[remap persp-switch-to-buffer] #'+vertico/switch-workspace-buffer)
|
[remap persp-switch-to-buffer] #'+vertico/switch-workspace-buffer)
|
||||||
(advice-add #'completing-read-multiple :override #'consult-completing-read-multiple)
|
(advice-add #'completing-read-multiple :override #'consult-completing-read-multiple)
|
||||||
(advice-add #'multi-occur :override #'consult-multi-occur)
|
(advice-add #'multi-occur :override #'consult-multi-occur)
|
||||||
(setq prefix-help-command #'embark-prefix-help-command)
|
|
||||||
:config
|
:config
|
||||||
(setq consult-project-root-function #'doom-project-root
|
(setq consult-project-root-function #'doom-project-root
|
||||||
consult-narrow-key "<"
|
consult-narrow-key "<"
|
||||||
|
@ -134,6 +133,8 @@ overrides `completion-styles' during company completion sessions.")
|
||||||
(use-package! embark
|
(use-package! embark
|
||||||
:defer t
|
:defer t
|
||||||
:init
|
:init
|
||||||
|
(setq which-key-use-C-h-commands nil
|
||||||
|
prefix-help-command #'embark-prefix-help-command)
|
||||||
(map! [remap describe-bindings] #'embark-bindings
|
(map! [remap describe-bindings] #'embark-bindings
|
||||||
"C-;" #'embark-act ; to be moved to :config default if accepted
|
"C-;" #'embark-act ; to be moved to :config default if accepted
|
||||||
(:map minibuffer-local-map
|
(:map minibuffer-local-map
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue