# machakann/vim-sandwich

Set of operators and textobjects to search/select/edit sandwiched texts.

Repository: https://github.com/machakann/vim-sandwich
Canonical: https://ross.abutalabs.com/products/vim-sandwich
Language: Vim Script
License Family: other
Last push: 2024-03-20T12:36:58+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4186, "days_push": 896, "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 1537, forks 38 (observed 2026-08-28T04:05:00.105467+00:00)

## What it is
A Vim plugin providing operators and textobjects to add, delete, and replace surrounding pairs such as brackets, quotes, and HTML/XML tags. It is built on Vim's operator/textobject framework so actions are repeatable with the dot command.

## Use cases
- swap double quotes for single quotes around text in vim
- add brackets around a word in vim
- delete surrounding quotes or parentheses
- replace brackets with HTML tags in vim
- wrap a line in an HTML tag with attributes
- edit HTML and XML tag pairs in vim
- vim-surround alternative with dot-repeat support

## When to choose
- you edit bracketed or quoted text frequently in Vim or Neovim
- you need reliable add/delete/replace of HTML or XML tags
- you want vim-surround-like mappings with dot-repeatable operators

## When to avoid
- you use an editor other than Vim or Neovim
- you only need minimal surround functionality and prefer a tiny plugin like vim-surround

## Facets
- artifact type: plugin
- maturity: stable
- function: editor, developer-tools
- domain: text-editors, developer-tools
- platform: editor-plugin, cli
- tags: vim, vim-plugin, textobjects, operators, surround, brackets, html-tags

## Member repositories
- machakann/vim-sandwich (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:00.105467+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-30T04:31:01.312019+00:00, confidence not recorded.
  - readme: https://github.com/machakann/vim-sandwich (fetched 2026-08-28T04:05:00.105467+00:00, sha 0aa02bb40be3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
