# nvim-pack/nvim-spectre

Find the enemy and replace them with dark power.

Repository: https://github.com/nvim-pack/nvim-spectre
Canonical: https://ross.abutalabs.com/products/nvim-spectre
Language: Lua
License: MIT
License Family: permissive
Last push: 2025-05-19T07:41:15+00:00

## Health v2 (maintenance only)
Score: 42/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 22, release rhythm 35, longevity 100
- inputs: {"age_days": 1984, "days_push": 471, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2406, forks 83 (observed 2026-08-28T04:06:44.122475+00:00)

## What it is
nvim-spectre is a Neovim plugin providing a search-and-replace panel for project-wide text editing. It uses ripgrep for finding matches and sed for replacements, with regex support and path glob filtering.

## Use cases
- find and replace text across an entire project in neovim
- search project files with regex from an editor panel
- filter search results by file glob pattern
- interactively toggle which matches to replace
- search and replace within the current file only

## When to choose
- you work in Neovim and need project-wide find-and-replace with a UI
- you want regex-based search with editable result buffers
- you prefer replacing text without leaving the editor

## When to avoid
- you need undo support for replacements (commit files first; no direct undo)
- you are not a Neovim user
- you need consistent regex semantics between search and replace (rg vs sed vs vim regex differ)

## Facets
- artifact type: plugin
- maturity: active
- function: search-engine, developer-tools, cli
- domain: developer-tools, text-editors
- platform: editor-plugin, windows
- tags: neovim, search-and-replace, project-wide-search, regex, lua-plugin, automation, linux, macos

## Member repositories
- nvim-pack/nvim-spectre (main) score 42

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:44.122475+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:34:06.910764+00:00, confidence not recorded.
  - readme: https://github.com/nvim-pack/nvim-spectre (fetched 2026-08-28T04:06:44.122475+00:00, sha 1b947f7294f0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
