tpope/vim-commentary
commentary.vim: comment stuff out observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5492
- days_rel: n/a
- days_push: 681
- n_releases_24m: 0
Adoption not part of the score
6156 stars · 211 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
commentary.vim is a minimalist Vim plugin that adds comment toggling via the gc operator, supporting motions, visual selections, counts, and a :Commentary command. It relies on Vim's 'commentstring' setting and weighs in at under 100 lines of code.
Use cases
- comment out a line in vim
- toggle comments on a code block
- uncomment lines in vim
- comment out a paragraph with a motion
- add commenting support to any filetype via commentstring
When to choose
- you use Vim or Neovim and want fast, idiomatic commenting via motions and text objects
- you prefer a tiny, minimal plugin over heavyweight alternatives
- you want commenting that works with any filetype by setting 'commentstring'
When to avoid
- you use a different editor like VS Code or Emacs
- you need advanced commenting features like block comments with custom formatting or language auto-detection beyond 'commentstring'
Facets
plugin · maturity stable
editor developer-tools text-editors developer-tools editor-plugin cli cross-platform vim vim-plugin commenting code-commenting editor-plugin minimalist
5 sources
- readme: https://github.com/tpope/vim-commentary · fetched 2026-08-28 · 70728efa8fd0
- homepage: http://www.vim.org/scripts/script.php?script_id=3695 · fetched 2026-08-29 · 3713f5076a40
- site_page: https://www.vim.org/about.php · fetched 2026-08-29 · 1bd2c1907ce5
- site_page: https://www.vim.org/docs.php · fetched 2026-08-29 · 438015e9e2e2
- site_page: http://www.vim.org/about.php · fetched 2026-08-29 · fbe78bde9535
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tpope/vim-commentary | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="tpope/vim-commentary")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem