2017-06-08 11:47:56 +02:00
|
|
|
;;; ui/nav-flash/config.el -*- lexical-binding: t; -*-
|
2017-06-04 16:45:14 +02:00
|
|
|
|
|
|
|
(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)
|
|
|
|
|
|
|
|
(after! evil
|
|
|
|
(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)))
|
|
|
|
|
|
|
|
|