mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-19 13:43:36 -05:00
+ Add doom-switch-frame-hook
+ Replace doom-{enter,exit}-{buffer,window}-hook with
doom-switch-{buffer,window}-hook
+ New switch-buffer hooks run on buffer-list-update-hook rather than
in select-window advice.
+ Blank our buffer-list-update-hook in some places to reduce how many
times it gets triggered.
:ui nav-flash
This module uses nav-flash to flash the line around the cursor after any motion command that might reasonably send the cursor somewhere the eyes can't follow.
Tremendously helpful on a 30" 2560x1600 display.
Install
This module has no other dependencies.
Configure
By default, nav-flash will be triggered whenever recenter is called. :feature jump attaches recenter to various hooks:
(add-hook!
'(imenu-after-jump-hook evil-jumps-post-jump-hook
counsel-grep-post-action-hook dumb-jump-after-jump-hook)
#'recenter)