nav-flash layer
Table of ContentsClose
1. Description
This layer adds nav-flash package which temporarily highlights the line containing the point, which is sometimes useful for orientation after a navigation command.
1.1. Features:
- Fancy flashing line on navigation.
2. Installation
To use this configuration layer, add nav-flash
to the existing
dotspacemacs-configuration-layers
list in your ~/.spacemacs
.
(setq-default dotspacemacs-configuration-layers '(nav-flash))
3. Customization
3.2. Exclusion Rules
nav-flash/blink-cursor-maybe
is configured not to flash the line when either
the command or the major mode is excluded, which can be customized via variables
nav-flash-exclude-commands
and nav-flash-exlude-modes
in your
dotspacemacs/user-config
. For example,
;; don't trigger in dired-mode (add-to-list 'nav-flash-exclude-modes 'dired-mode ) ;; don't trigger for spacemacs/alternate-buffer (SPC TAB) (add-to-list 'nav-flash-exclude-commands 'spacemacs/alternate-buffer)
4. Credit
This layer is ported from Doom Emacs.