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
|
2018-03-26 06:41:33 -04:00
|
|
|
;; NOTE In :feature lookup `recenter' is hooked to a bunch of jumping
|
|
|
|
;; commands, which will trigger nav-flash.
|
|
|
|
(add-hook!
|
|
|
|
'(doom-after-switch-window-hook
|
|
|
|
imenu-after-jump-hook evil-jumps-post-jump-hook
|
|
|
|
counsel-grep-post-action-hook dumb-jump-after-jump-hook)
|
|
|
|
#'+nav-flash/blink-cursor)
|
2017-06-04 16:45:14 +02:00
|
|
|
|
2018-03-26 02:11:08 -04:00
|
|
|
(advice-add #'save-place-find-file-hook :after #'+nav-flash/blink-cursor)
|
2018-02-02 19:51:08 -05:00
|
|
|
|
2017-06-04 16:45:14 +02:00
|
|
|
(after! evil
|
2018-03-26 02:11:08 -04:00
|
|
|
(advice-add #'evil-window-top :after #'+nav-flash/blink-cursor)
|
|
|
|
(advice-add #'evil-window-middle :after #'+nav-flash/blink-cursor)
|
|
|
|
(advice-add #'evil-window-bottom :after #'+nav-flash/blink-cursor)))
|
2017-06-04 16:45:14 +02:00
|
|
|
|