tomtom/tcomment_vim
An extensible & universal comment vim-plugin that also handles embedded filetypes observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5861
- days_rel: n/a
- days_push: 891
- n_releases_24m: 0
Adoption not part of the score
1412 stars · 102 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
tcomment_vim is a Vim plugin that provides easy, file-type-aware commenting and uncommenting of code, working as a toggle with operator, visual, and insert-mode key maps. It supports block, line, and inline comment styles and correctly handles embedded syntaxes such as Ruby or Python regions inside Vim scripts or JavaScript inside PHP.
Use cases
- toggle comments in vim
- comment out a block of code in vim
- uncomment lines quickly in vim
- comment code with correct syntax per filetype
- handle comments in embedded filetypes like php with html
- add custom comment strings for a filetype
When to choose
- you edit code in Vim and want fast, reliable comment toggling
- you work with files mixing multiple languages or embedded syntaxes
- you want operator- and motion-based commenting (gc, gcc, gC)
- you need customizable comment definitions per filetype
When to avoid
- you use Neovim and prefer built-in comment features or Lua-native plugins
- you want an IDE-style GUI commenting menu
- you don't use Vim or Vi-compatible editors
Facets
plugin · maturity stable
editor developer-tools text-editors developer-tools editor-plugin cross-platform vim commenting toggle-comments embedded-syntax vim-plugin
5 sources
- readme: https://github.com/tomtom/tcomment_vim · fetched 2026-08-28 · 4791a7a3b215
- homepage: http://www.vim.org/scripts/script.php?script_id=1173 · fetched 2026-08-29 · 2f5cd4c72a72
- 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 |
|---|---|---|
| tomtom/tcomment_vim | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="tomtom/tcomment_vim")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem