# preservim/nerdcommenter

Vim plugin for intensely nerdy commenting powers

Repository: https://github.com/preservim/nerdcommenter
Canonical: https://ross.abutalabs.com/products/nerdcommenter
Language: Vim Script
License: CC0-1.0
License Family: permissive
Topics: vim-plugin, vim-plugins, vim, commenting, comment
Last push: 2025-11-19T08:24:44+00:00

## Health v2 (maintenance only)
Score: 47/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 53, release rhythm 8, longevity 100
- inputs: {"age_days": 6750, "days_push": 287, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5006, forks 441 (observed 2026-08-28T04:09:04.537984+00:00)

## What it is
NERD Commenter is a Vim/Neovim plugin that provides powerful commenting functions for many filetypes. It leverages filetype plugins and 'commentstring' to toggle, comment, and uncomment code lines and blocks.

## Use cases
- quickly comment out lines of code in vim
- toggle comments on a code block
- uncomment multiple lines in neovim
- comment code in any filetype with correct syntax
- add comment shortcuts to my vim setup

## When to choose
- you edit code in Vim or Neovim and want fast, filetype-aware commenting
- you want a mature, widely used commenting plugin with many mappings and options

## When to avoid
- you use a different editor like VS Code or Emacs
- you prefer minimal configs and only need occasional manual commenting

## Facets
- artifact type: plugin
- maturity: stable
- function: developer-tools, editor
- domain: developer-tools, text-editors
- platform: editor-plugin, cross-platform
- tags: vim-plugin, commenting, neovim, vim-script

## Member repositories
- preservim/nerdcommenter (main) score 47

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:04.537984+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-29T18:17:34.566746+00:00, confidence not recorded.
  - readme: https://github.com/preservim/nerdcommenter (fetched 2026-08-28T04:09:04.537984+00:00, sha d0c50181c789)
- Data as of 2026-08-30T08:39:29.467469+00:00.
