mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-12 15:36:53 -05:00
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.
17 lines
456 B
EmacsLisp
17 lines
456 B
EmacsLisp
;;; ui/hydra/config.el -*- lexical-binding: t; -*-
|
|
|
|
(use-package! hydra-examples
|
|
:commands (hydra-move-splitter-up
|
|
hydra-move-splitter-down
|
|
hydra-move-splitter-right
|
|
hydra-move-splitter-left))
|
|
|
|
;;;###package hydra
|
|
(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))))
|