From 6e5f91b013bb7f245be43907b10906fbdabee41d Mon Sep 17 00:00:00 2001 From: bd Date: Sun, 2 Jun 2024 17:58:51 -0600 Subject: Tweaks to shackle, temp remove REPLs from paredit, more emacs tweaks --- .config/emacs/modules/bd--essentials.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.config/emacs/modules/bd--essentials.el') 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 -- cgit v1.2.3