feat(nav-flash): blink on workspace change

Changing workspace is big motion so we should blink the cursor.
We can not use `+nav-flash-blink-cursor-maybe-h` as the point
is not yet in the correct buffer when the hook is triggered.
This commit is contained in:
gpanago 2024-09-06 17:30:27 -04:00 committed by Henrik Lissner
parent 765f317427
commit ed05e4c088

View file

@ -31,6 +31,10 @@
;; `org'
(add-hook 'org-follow-link-hook #'+nav-flash-delayed-blink-cursor-h)
;; `persp-mode'
(after! persp-mode
(add-hook 'persp-activated-functions #'+nav-flash-delayed-blink-cursor-h))
;; `saveplace'
(advice-add #'save-place-find-file-hook :after #'+nav-flash-blink-cursor-a)