This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+spacemacs/spacemacs-navigation
duianto ba8074b604 Fix symbol highlight ts counter
problem
The Symbol Highlight Transient State (`SPC s h`) counter
ex: [2/7]

Shows: [0/0]
when opening the TS, either with `SPC s h`, `SPC s H`
or when navigating between symbols with: `#` or `*`

cause
The symbols haven't been counted yet, when the TS is opened.

And the counter is reset when `auto-highlight-symbol-mode` is disabled,
this happens when the TS is restarted, which happens when navigating to the
next/previous symbol with `#` and `*`.

solution
Highlight the symbol before opening the TS.
And only disable `auto-highlight-symbol-mode` when the TS is closed.
(when the TS buffer " *LV*" doesn't exist)

notes
This also shows the "No previously searched for symbol found" message,
when the variable `spacemacs-last-ahs-highlight-p` is void on startup.
2021-07-16 16:23:30 +02:00
..
local/info+ Revert "spacemacs-navigation: replace local package info+ with github one" 2021-03-20 01:09:46 +01:00
funcs.el Fix symbol highlight ts counter 2021-07-16 16:23:30 +02:00
packages.el Fix symbol highlight ts counter 2021-07-16 16:23:30 +02:00
README.org documentation formatting: Tue May 28 14:41:10 UTC 2019 2019-05-28 17:43:54 +03:00

spacemacs-navigation layer

Description

This layer adds general navigation functions to all supported layers.

Features:

  • Support for ace-links in

    • spacemacs buffer
    • info-mode
    • help-mode
    • eww-mode
  • Support for keeping the cursor centered on the screen
  • Evilified version of doc-view-mode
  • Tweaks for golden-ratio-mode
  • Support for paradox a modern emacs package manager
  • Shortcuts for restarting emacs
  • Shortcuts for easily switching between windows