doomemacs/modules/ui/nav-flash/config.el

21 lines
726 B
EmacsLisp
Raw Normal View History

;;; ui/nav-flash/config.el -*- lexical-binding: t; -*-
(def-package! nav-flash
:commands nav-flash-show
:init
;; NOTE In :feature jump `recenter' is hooked to a bunch of jumping commands,
;; which will trigger nav-flash.
(advice-add #'windmove-do-window-select :around #'+doom*blink-cursor-maybe)
(advice-add #'recenter :around #'+doom*blink-cursor-maybe)
(advice-add #'save-place-find-file-hook :after #'+doom/blink-cursor)
(after! evil
2017-11-22 15:47:51 -05:00
(advice-add #'evil--jumps-jump :after #'+doom/blink-cursor)
(advice-add #'evil-window-top :after #'+doom/blink-cursor)
(advice-add #'evil-window-middle :after #'+doom/blink-cursor)
(advice-add #'evil-window-bottom :after #'+doom/blink-cursor)))