about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-06-15 12:33:42 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-06-15 12:33:42 +0100
commit0cea2e2e9c73d38e7685475bccb7af02cba22245 (patch)
tree1f3c6ef5a49f37e21de63f544bed40baf1d9b392 /.emacs.d/lisp
parent75fb2d87b3d493434e214c58d9a94db57b105737 (diff)
downloaddotfiles-0cea2e2e9c73d38e7685475bccb7af02cba22245.tar.gz
Improve pulsar config
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-ui.el14
1 files changed, 12 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-ui.el b/.emacs.d/lisp/init-ui.el
index 736f005..5c51289 100644
--- a/.emacs.d/lisp/init-ui.el
+++ b/.emacs.d/lisp/init-ui.el
@@ -112,8 +112,18 @@
   :custom
   (pulsar-pulse-on-window-change t)
   (pulsar-pulse t)
-  (pulsar-face 'pulsar-green)
-  (pulsar-highlight-face 'pulsar-yellow)
+  (pulsar-iterations 80)
+  (pulsar-face 'pulsar-red)
+  (pulsar-pulse-functions '(recenter-top-bottom
+                            move-to-window-line-top-bottom
+                            reposition-window
+                            forward-page
+                            backward-page
+                            scroll-up-command
+                            scroll-down-command))
+  :hook
+  (isearch-update-post-hook . pulsar-pulse-line)
+  (consult-after-jump-hook . pulsar-pulse-line)
   :config
   (pulsar-global-mode 1))