ui/nav-flash: trigger on switch-window

This commit is contained in:
Henrik Lissner 2019-05-21 03:42:12 -04:00
parent 912cc4b522
commit 0e2cbdf8f5
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -11,11 +11,12 @@
;; NOTE In :tools lookup `recenter' is hooked to a bunch of jumping
;; commands, which will trigger nav-flash.
(add-hook!
'(doom-switch-window-hook
imenu-after-jump-hook better-jumper-post-jump-hook
'(imenu-after-jump-hook better-jumper-post-jump-hook
counsel-grep-post-action-hook dumb-jump-after-jump-hook)
#'+nav-flash|blink-cursor-maybe)
(add-hook 'doom-switch-window-hook #'+nav-flash|blink-cursor)
;; `org'
(add-hook 'org-follow-link-hook #'+nav-flash|delayed-blink-cursor)