doomemacs/modules/ui/nav-flash
Henrik Lissner 616dec5b93
Optimize opening large files #1834
Fixes an issue where dtrt-indent and/or nav-flash would hang Emacs when
opening large files, and disables all mode hooks for large
files (without using fundamental-mode so you can at least get syntax
highlighting).
2019-10-07 16:02:23 -04:00
..
autoload.el Optimize opening large files #1834 2019-10-07 16:02:23 -04:00
config.el 💥 Refactor add-hook! macro & change arg order 2019-07-26 20:17:29 +02:00
packages.el
README.org ui/nav-flash: update README 2019-04-24 18:16:05 -04:00

ui/nav-flash

Table of Contents   TOC

Description

This module flashes the line around the cursor after any significant motion, to make it easy to follow after big operations.

Tremendously helpful on large, 1600p+ or 4K displays.

Plugins

Prerequisites

This module has no dependencies.

Configuration

By default, nav-flash will be triggered whenever recenter is called or an entry is added to the jump-list (maanaged by better-jumper).

recenter is called after many hooks and commands, such as:

  • better-jumper-post-jump-hook
  • rtags-after-find-file-hook
  • org-follow-link-hook
  • imenu-after-jump-hook
  • counsel-grep-post-action-hook
  • dumb-jump-after-jump-hook