diff options
Diffstat (limited to '.config/emacs/modules/bd--essentials.el')
-rw-r--r-- | .config/emacs/modules/bd--essentials.el | 8 |
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 |