# tpope/vim-eunuch

eunuch.vim: Helpers for UNIX

Repository: https://github.com/tpope/vim-eunuch
Canonical: https://ross.abutalabs.com/products/vim-eunuch
Homepage: https://www.vim.org/scripts/script.php?script_id=4300
Language: Vim Script
License Family: other
Last push: 2026-08-12T19:52:28+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 5364, "days_push": 21, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1887, forks 79 (observed 2026-08-28T04:05:49.172490+00:00)

## What it is
eunuch.vim is a Vim plugin by Tim Pope that provides convenient Vim commands wrapping common UNIX shell operations like deleting, renaming, and chmod-ing files, plus sudo write/edit and find/locate integration into the quickfix list. It keeps buffer state and filesystem state in sync when manipulating files from within Vim.

## Use cases
- delete a file and its buffer from vim
- rename a file and buffer together in vim
- edit a root-owned file with sudo in vim
- write a privileged file with sudo from vim
- run find or locate and load results into vim quickfix
- make a script executable automatically after writing a shebang
- create a directory next to the current file in vim

## When to choose
- you live in Vim and frequently rename, delete, or chmod files from the editor
- you need to edit or write root-owned files without leaving Vim
- you want find/locate results piped into Vim's quickfix or location lists

## When to avoid
- you use Neovim/VS Code and prefer modern Lua or extension-based tooling
- you only need file management outside the editor
- you need a cross-platform solution for Windows without a UNIX shell

## Facets
- artifact type: plugin
- maturity: stable
- function: developer-tools, file-system, cli
- domain: text-editors, developer-tools
- platform: editor-plugin
- tags: vim, vim-plugin, unix-commands, sudo, file-management, command-line, linux, macos

## Member repositories
- tpope/vim-eunuch (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:49.172490+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:13:33.580115+00:00, confidence not recorded.
  - readme: https://github.com/tpope/vim-eunuch (fetched 2026-08-28T04:05:49.172490+00:00, sha 6a984302a949)
  - homepage: https://www.vim.org/scripts/script.php?script_id=4300 (fetched 2026-08-29T10:52:31.220019+00:00, sha bf3b16dca212)
  - site_page: https://www.vim.org/about.php (fetched 2026-08-29T10:52:31.229293+00:00, sha 1bd2c1907ce5)
  - site_page: https://www.vim.org/docs.php (fetched 2026-08-29T10:52:31.231216+00:00, sha 438015e9e2e2)
  - site_page: http://www.vim.org/about.php (fetched 2026-08-29T10:52:31.232865+00:00, sha fbe78bde9535)
- Data as of 2026-08-30T08:39:29.467469+00:00.
