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:
parent
765f317427
commit
ed05e4c088
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue