mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Avoid nav-flash after each hydra action
Hydra displays the hints in a buffer created by lv-window, which triggers nav-flash. By advicing lv-window, we can inhibit the nav-flash hook.
This commit is contained in:
@ -8,3 +8,9 @@
|
|||||||
|
|
||||||
;;;###package hydra
|
;;;###package hydra
|
||||||
(setq lv-use-separator t)
|
(setq lv-use-separator t)
|
||||||
|
|
||||||
|
(after! hydra
|
||||||
|
(defadvice! +hydra/inhibit-window-switch-hooks-a (orig-fn)
|
||||||
|
:around #'lv-window
|
||||||
|
(let ((doom-inhibit-switch-window-hooks t))
|
||||||
|
(funcall orig-fn))))
|
||||||
|
Reference in New Issue
Block a user