swaits a5b992dfe3
CI / lint (push) Canceled after 0s
CI / test (push) Canceled after 0s
chore: repoint remaining links and host-specific tooling at git.swaits.com
Covers files missed by the first pass (.svelte/.astro components, bare org and
profile links, plugin doc headers), plus content that needed rewriting rather
than a URL swap: the chezmoi bootstrap script now provisions SSH for
git.swaits.com (User git, port 2222) and initialises from Gitea.

Link labels were updated to match their new targets.
2026-08-31 18:35:30 -06:00
2026-04-09 17:58:52 -06:00
2026-04-09 17:58:52 -06:00
2026-04-09 17:58:52 -06:00
2026-04-09 17:58:52 -06:00
2026-04-09 17:58:52 -06:00
2026-04-09 17:58:52 -06:00
2026-04-09 17:58:52 -06:00
2026-04-09 17:58:52 -06:00
2026-04-09 17:58:52 -06:00
2026-04-09 17:58:52 -06:00

tiny-spark.nvim

A tiny cursor jump animation for Neovim 0.12+. Flashes a brief highlight at the cursor position after large jumps.

Zero config. ~55 lines of Lua.

Features

  • Brief flash at cursor position after jumping 5+ lines
  • Smooth fade-out animation via winblend
  • Configurable threshold, duration, width, and highlight group
  • Extremely lightweight — no dependencies, single timer
  • Works out of the box — no setup call required

Requirements

  • Neovim >= 0.12
  • A terminal that supports winblend (most modern terminals)

Installation

Add to your vim.pack.add() call:

"https://git.swaits.com/swaits/tiny-spark.nvim",

Configuration

All options are optional. Call setup() only if you want to customize:

require("tiny-spark").setup({
  threshold = 5,        -- minimum line distance to trigger
  duration = 150,       -- fade duration in ms
  width = 8,            -- flash width in columns
  hl = "CurSearch",     -- highlight group
})

How it works

On CursorMoved, the plugin compares the current cursor line to the previous one. If the distance exceeds the threshold, it opens a small floating window at the cursor position and fades it out by increasing winblend from 0 to 100 over the configured duration.

License

MIT

S
Description
Extremely lightweight cursor jump animation
Readme MIT
39 KiB
0 Stars 1 Watchers 0 Forks
Languages
Lua 91.3%
Shell 8.7%