# MagicDuck/grug-far.nvim

Find And Replace plugin for neovim

Repository: https://github.com/MagicDuck/grug-far.nvim
Canonical: https://ross.abutalabs.com/products/grug-farnvim
Language: Lua
License: MIT
License Family: permissive
Last push: 2026-08-13T22:24:38+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 35, longevity 61
- inputs: {"age_days": 857, "days_push": 20, "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 2004, forks 56 (observed 2026-08-28T04:06:04.521544+00:00)

## What it is
grug-far.nvim is a find-and-replace plugin for Neovim that leverages ripgrep or ast-grep for project-wide search and replacement. It provides a live, syntax-highlighted results buffer with inline editing, history, folding, and multiline/visual-range search support.

## Use cases
- find and replace text across a project in neovim
- refactor code with ripgrep-powered search and replace
- run ast-grep structural search and replace in neovim
- edit search results inline and sync changes to files
- search and replace within a visual selection range
- keep a searchable history of past find-and-replace operations

## When to choose
- you use Neovim and want a live, interactive project-wide find-and-replace UI
- you want the full power of ripgrep or ast-grep queries with safety warnings on risky flags
- you need multiline, structural, or lua-interpreted replacements

## When to avoid
- you don't use Neovim
- you only need simple single-file find-and-replace built into the editor
- you need a GUI-based global search tool

## Facets
- artifact type: plugin
- maturity: active
- function: search-engine, developer-tools, cli
- domain: developer-tools, text-editors
- platform: editor-plugin, cli
- tags: neovim, find-and-replace, ripgrep, ast-grep, refactoring, lua, search

## Member repositories
- MagicDuck/grug-far.nvim (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:04.521544+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-30T03:01:35.617316+00:00, confidence not recorded.
  - readme: https://github.com/MagicDuck/grug-far.nvim (fetched 2026-08-28T04:06:04.521544+00:00, sha 3a3ce2159418)
- Data as of 2026-08-30T08:39:29.467469+00:00.
