NORMAL ~/wkd/p/spotlight :set skin=modern utf-8

spotlight.nvim

Mark any number of tokens in a log at once, in colors you can tell apart, and keep them there. You are reading a log. You spot a request id, a PID, an IP, an error code — and you want to see every other occurrence, right now. Several tokens at once, and they have to stay put: through searches, through scrolling, through a :split.

status
beta — Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.
category
Debug & inspect
neovim
0.9+
repo
github.com/StefanBartl/spotlight.nvim
commits
90
help
:help spotlight

demo

recorded with VHS from demos/spotlight.tape in a clean Neovim — re-recorded weekly
what is shown when
  1. :Spotlight add - mark a token everywhere
  2. :Spotlight - toggle the token under the cursor
  3. :Spotlight clear

install

{
  "StefanBartl/spotlight.nvim",
  opts = {},
}

docs/

git log

  1. feat menu: integrations.ui_menu switch + enabled() for ui.nvim's right-click menu
  2. docs link back to the wkd family site
  3. ci bump leafo/gh-actions-lua and gh-actions-luarocks off Node 20
  4. ci bump JohnnyMorganz/stylua-action to v5 (Node-20 deprecation)
  5. docs TESTS: align run.lua header examples with the ci.yml -n/-i NONE invocation
  6. ci bump the failure-log upload to actions/upload-artifact@v7 (Node 24)
  7. ci add job timeouts, failure log artifacts, swap/shada-free nvim runs, pinned deps
  8. fix config: keymaps' false carve-out let any non-table value through (ERR-22)
  9. fix config: reject unknown keys before the merge (ERR-50)
  10. fix persist,sets: warn when a persisted snapshot is corrupt, not silently empty (ERR-11)
  11. fix config: stop an empty section erasing defaults, merges alias DEFAULTS (ERR-22, ERR-51)
  12. fix sets: invalidate the cache before a write can clobber it (PERF-42)

keys

j / k
next / previous line
gg / G
first / last line
⏎
open the line under the cursor
/
search the plugins
:
command line — Tab completes
:help x
vimdoc of a plugin (:e x = plugin page)
:ls · :log · :stack
plugin list · activity stream · dependency graph
:colo x
colorscheme
:set skin=
modern | tui
?
this help
esc
close