mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 20:10:23 +10:00
Updating dotfiles.
This commit is contained in:
@@ -25,7 +25,7 @@ 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).
|
||||
entry is added to the jump-list (managed by better-jumper).
|
||||
|
||||
~recenter~ is called after many hooks and commands, such as:
|
||||
|
||||
|
||||
@@ -14,11 +14,12 @@ jumping to another part of the file)."
|
||||
|
||||
;;;###autoload
|
||||
(defun +nav-flash-blink-cursor-maybe (&rest _)
|
||||
"Like `+nav-flash-blink-cursor', but no-ops if in special-mode or term-mode,
|
||||
or triggered from one of `+nav-flash-exclude-commands'."
|
||||
"Like `+nav-flash-blink-cursor', but no-ops if in special-mode, term-mode,
|
||||
vterm-mode, or triggered from one of `+nav-flash-exclude-commands'."
|
||||
(unless (or (memq this-command +nav-flash-exclude-commands)
|
||||
(bound-and-true-p so-long-minor-mode)
|
||||
(derived-mode-p 'so-long-mode 'special-mode 'term-mode)
|
||||
(derived-mode-p 'so-long-mode 'special-mode 'term-mode
|
||||
'vterm-mode)
|
||||
(and (equal (point-marker) (car +nav-flash--last-point))
|
||||
(equal (selected-window) (cdr +nav-flash--last-point))))
|
||||
(+nav-flash-blink-cursor)
|
||||
|
||||
Reference in New Issue
Block a user