Now that we are loading package autoloads files (as part of the generated doom-package-autoload-file when running make autoloads), many :commands properties are redundant. In fact, many def-package! blocks are redundant. In some cases, we can do without a config.el file entirely, and can move into the autoloads file or rely entirely on package autoloads. Also, many settings have been moved in their module's autoloads files, which makes them available ASAP; their use no longer depends on module load order. This gained me a modest ~10% boost in startup speed. |
||
---|---|---|
.. | ||
autoload.el | ||
config.el | ||
packages.el | ||
README.org |
: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)