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:
parent
95c3682716
commit
280da15280
1 changed files with 6 additions and 0 deletions
|
@ -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))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue