summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/bd--essentials.el
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2024-06-02 17:58:51 -0600
committerbd <bdunahu@operationnull.com>2024-06-02 17:58:51 -0600
commit6e5f91b013bb7f245be43907b10906fbdabee41d (patch)
tree83c455c97a52d907fcc19729db2c868fcda6c09c /.config/emacs/modules/bd--essentials.el
parented3387a423678cc7ec6d0e8f13eb7ab84a6621de (diff)
Tweaks to shackle, temp remove REPLs from paredit, more emacs tweaks
Diffstat (limited to '.config/emacs/modules/bd--essentials.el')
-rw-r--r--.config/emacs/modules/bd--essentials.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/emacs/modules/bd--essentials.el b/.config/emacs/modules/bd--essentials.el
index 4d48238..de72c20 100644
--- a/.config/emacs/modules/bd--essentials.el
+++ b/.config/emacs/modules/bd--essentials.el
@@ -13,6 +13,14 @@
;;;; UI
(setopt inhibit-startup-message t)
+(defun pulse-line (&rest _)
+ "Pulse the current line."
+ (pulse-momentary-highlight-one-line (point)))
+
+(dolist (command '(scroll-up-command scroll-down-command
+ recenter-top-bottom other-window))
+ (advice-add command :after #'pulse-line))
+
;;;; defaults
;; basic editing