summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs')
-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)))