summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2024-01-25 02:34:45 +0000
committerjao <jao@gnu.org>2024-01-25 02:34:45 +0000
commit7c820c60987b81ce825733ea3cdb80ba25b61d8b (patch)
tree7eb5e79532ecc003783cc8c7ddc6c5154216b433
parent552635c5a79daa51a313902ff79ea42a576e5e19 (diff)
downloadelibs-7c820c60987b81ce825733ea3cdb80ba25b61d8b.tar.gz
elibs-7c820c60987b81ce825733ea3cdb80ba25b61d8b.tar.bz2
unused: pulsar
-rw-r--r--attic/elisp/misc.el23
-rw-r--r--init.el24
2 files changed, 23 insertions, 24 deletions
diff --git a/attic/elisp/misc.el b/attic/elisp/misc.el
index e634548..59a3c60 100644
--- a/attic/elisp/misc.el
+++ b/attic/elisp/misc.el
@@ -784,6 +784,29 @@
("M-g M-D" . dogears-sidebar)))
(dogears-mode)
+;;; pulsar
+(use-package pulsar
+ :ensure t
+ :demand t
+ :diminish
+ :custom ((pulsar-pulse t)
+ (pulsar-delay 0.1)
+ (pulsar-iterations 10)
+ (pulsar-face 'pulsar-yellow)
+ (pulsar-highlight-face 'jao-themes--hilite))
+ :config
+ (dolist (f '(jao-prev-window
+ jao-tracking-next-buffer
+ smartscan-symbol-go-forward
+ smartscan-symbol-go-backward))
+ (add-to-list 'pulsar-pulse-functions f))
+
+ :hook ((jao-afio-switch . pulsar-pulse-line)
+ (consult-after-jump . pulsar-reveal-entry)
+ (imenu-after-jump . pulsar-reveal-entry)
+ (next-error . pulsar-pulse-line)))
+
+(pulsar-global-mode 1)
;;; snippets
(defun jao-sway-run-or-focus-tidal ()
(interactive)
diff --git a/init.el b/init.el
index fa8ea54..57b291f 100644
--- a/init.el
+++ b/init.el
@@ -566,30 +566,6 @@
:init
(setq tmr-sound-file "/usr/share/sounds/freedesktop/stereo/message.oga"))
-;;;; pulsar
-(use-package pulsar
- :ensure t
- :demand t
- :diminish
- :custom ((pulsar-pulse t)
- (pulsar-delay 0.1)
- (pulsar-iterations 10)
- (pulsar-face 'pulsar-yellow)
- (pulsar-highlight-face 'jao-themes--hilite))
- :config
- (dolist (f '(jao-prev-window
- jao-tracking-next-buffer
- smartscan-symbol-go-forward
- smartscan-symbol-go-backward))
- (add-to-list 'pulsar-pulse-functions f))
-
- :hook ((jao-afio-switch . pulsar-pulse-line)
- (consult-after-jump . pulsar-reveal-entry)
- (imenu-after-jump . pulsar-reveal-entry)
- (next-error . pulsar-pulse-line)))
-
-(pulsar-global-mode 1)
-
;;; Calendar, diary, weather
;;;; diary
(setq diary-file (expand-file-name "diary" jao-org-dir)