summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/mm-theme.el
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-11-01 16:55:42 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-11-01 16:55:42 +0100
commitc34d8a4615f6c60b2ea216bcdd51d3984fb7ce93 (patch)
treecc0c9009e416dea786d90be5bbd62c03e2dd8bc1 /.config/emacs/modules/mm-theme.el
parenta733f018909f36be4262815f22bb396134f79348 (diff)
emacs: Configure pulsar colors
Diffstat (limited to '.config/emacs/modules/mm-theme.el')
-rw-r--r--.config/emacs/modules/mm-theme.el18
1 files changed, 9 insertions, 9 deletions
diff --git a/.config/emacs/modules/mm-theme.el b/.config/emacs/modules/mm-theme.el
index 3d4d9b6..3068b15 100644
--- a/.config/emacs/modules/mm-theme.el
+++ b/.config/emacs/modules/mm-theme.el
@@ -145,22 +145,22 @@ See also the `mm-theme-background-opacity' variable."
(use-package pulsar
:ensure t
+ :hook (after-init . pulsar-global-mode)
:custom
(pulsar-pulse t)
(pulsar-delay .05)
(pulsar-iterations 10)
+ (pulsar-face 'hl-line)
:config
- (add-to-list 'pulsar-pulse-functions #'jump-to-register)
- (add-to-list 'pulsar-pulse-functions #'e/scroll-up)
- (add-to-list 'pulsar-pulse-functions #'e/scroll-down)
+ (dolist (command #'(backward-paragraph
+ e/scroll-down
+ e/scroll-up
+ forward-paragraph
+ jump-to-register
+ pop-global-mark))
+ (add-to-list 'pulsar-pulse-functions command))
;; Integrate with ‘compilation-mode’
(add-hook 'next-error-hook #'pulsar-pulse-line)
- (pulsar-global-mode)
- :hook
- ((next-error . (pulsar-pulse-line-red
- pulsar-recenter-top
- pulsar-reveal-entry))
- (minibuffer-setup . pulsar-pulse-line-red))
:bind
(("C-c h l" . pulsar-highlight-dwim)))