preservim/nerdcommenter

Vim plugin for intensely nerdy commenting powers

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 10 minutes ago
Type:Plugin / ExtensionCategory(s):Editors & IDEsDeveloper Tools
Added to GitGenius on September 13th, 2026
Created on March 10th, 2008
Open Issues & Pull Requests: 102 (+0)
GitHub issues: Enabled
Number of forks: 441
Total Stargazers: 5,004 (+0)
Total Subscribers: 58 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 6.2 hours
Mean response time: 14.1 days
90th percentile: 78.8 days
Tracked items: 6

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 5
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,106 days
Stale 30+ days: 5
Stale 90+ days: 5

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • feature (1)
  • needs info (1)
  • question (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

NERD Commenter is a Vim plugin that provides commenting functionality with support for multiple comment styles and languages.

The plugin solves the problem of efficiently commenting and uncommenting code in Vim by offering a set of keyboard mappings and commands that handle various commenting scenarios. It works by leveraging Vim's filetype system and commentstring settings to automatically apply the correct comment delimiters for the language being edited. The tool supports multiple commenting modes including simple line comments, nested comments, minimal comments using single delimiter pairs, inverted toggling on individual lines, and formatted block comments with visual styling.

Developers should choose this plugin if they spend significant time in Vim and want to reduce the friction of adding, removing, or manipulating comments across different file types. It suits any project where developers use Vim as their primary editor, particularly those working with multiple programming languages since the plugin automatically adapts to each language's comment syntax. The plugin is compatible with various Vim plugin managers including Vim Plug, Vundle, NeoBundle, and Pathogen, as well as Vim 8+ native packages, making installation straightforward regardless of setup preference.

The project maintains active engagement with its user base through comprehensive documentation accessible via Vim's built-in help system. Development activity shows consistent attention to code quality and user experience, with the plugin supporting both Vim and Neovim across Unix and Windows platforms. The codebase includes extensive customization options allowing users to modify default behavior through vimrc settings, and the plugin provides both keyboard mappings and menu-based access to its full feature set.