Files
doomemacs/modules/ui/hydra/config.el
Benno Fünfstück 280da15280 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.
2019-11-03 23:04:06 +01:00

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))))