doomemacs/modules/ui/nav-flash
Henrik Lissner 2364e97285
Fix switch-window hooks when switching with the mouse
And moved it to ui/nav-flash, which is what this code was introduced to
fix in the first place!
2018-03-27 02:50:40 -04:00
..
autoload.el Fix switch-window hooks when switching with the mouse 2018-03-27 02:50:40 -04:00
config.el tools/nav-flash: refactor & reduce false positive jumps 2018-03-26 06:41:33 -04:00
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.

Table of Contents   TOC

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)