{"id":20560807,"url":"https://github.com/aben20807/vim-commenter","last_synced_at":"2026-06-01T04:31:41.058Z","repository":{"id":107925739,"uuid":"119166579","full_name":"aben20807/vim-commenter","owner":"aben20807","description":"A simple Vim plugin which uses \u003calt+/\u003e to comment code.","archived":false,"fork":false,"pushed_at":"2023-11-06T03:16:23.000Z","size":57,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T07:49:33.274Z","etag":null,"topics":["comment","vim","vim-plugin"],"latest_commit_sha":null,"homepage":"https://aben20807.blogspot.tw/2018/03/1070313-vim-commenter.html","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aben20807.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-01-27T13:26:27.000Z","updated_at":"2023-11-06T03:16:27.000Z","dependencies_parsed_at":"2023-11-06T04:25:23.446Z","dependency_job_id":"bd444df6-e919-4b55-bac8-fdb0c1d81328","html_url":"https://github.com/aben20807/vim-commenter","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/aben20807/vim-commenter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aben20807%2Fvim-commenter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aben20807%2Fvim-commenter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aben20807%2Fvim-commenter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aben20807%2Fvim-commenter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aben20807","download_url":"https://codeload.github.com/aben20807/vim-commenter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aben20807%2Fvim-commenter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33760645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["comment","vim","vim-plugin"],"created_at":"2024-11-16T03:55:54.673Z","updated_at":"2026-06-01T04:31:41.037Z","avatar_url":"https://github.com/aben20807.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Commenter [![Travis CI Build Status](https://travis-ci.org/aben20807/vim-commenter.svg?branch=master)](https://travis-ci.org/aben20807/vim-commenter) [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/aben20807/vim-commenter/master/LICENSE)\n\n## 1. Installation\n### 1.a. Installation with [Vim-Plug](https://github.com/junegunn/vim-plug)\n1. Add `Plug 'aben20807/vim-commenter'` to your vimrc file.\n2. Reload your vimrc or restart.\n3. Run `:PlugInstall`\n\n### 1.b. Installation with [Vundle](https://github.com/VundleVim/Vundle.vim)\n1. Add `Plugin 'aben20807/vim-commenter'` to your vimrc file.\n2. Reload your vimrc or restart\n3. Run `:PluginInstall`\n\n## 2. Usage\n### 2.a. Supported Languages\n+ c, conf, cpp, css, gnuplot, html, htmlm4, java, javascript, lex,\n+ lisp, make, prolog, python, rust, sh, tmux, vader, vim, yacc\n\n### 2.b. Block comment\n+ In v or ^v(ctrl-v) mode will use block comment.\n+ e.g. C: `/* comment here */`\n\n### 2.c. Settings\n```vim\n\" Use key mappings setting from this plugin by default.\nlet g:commenter_use_default_mapping = 1\n\n\n\" Use \u003cM-/\u003e namely Alt+/ to toggle comment in n, i, v mode by default.\n\" Feel free to change mapping you like.\nlet g:commenter_n_key = \"\u003cM-/\u003e\"\nlet g:commenter_i_key = \"\u003cM-/\u003e\"\nlet g:commenter_v_key = \"\u003cM-/\u003e\"\n\n\n\" Not keep selected part after commenting by default.\nlet g:commenter_keep_select = 0\n\n\n\" Use block comment by default, if 0 then only use line comment.\nlet g:commenter_use_block_comment = 1\n\n\n\" Not allow nest block comment by default.\n\" But some language (e.g. Rust) allow to use.\nlet g:commenter_allow_nest_block = 0\n\n\n\" Custom comment map by setting g:commenter_custom_map, not setting by default.\n\" ll: line comment left, bl: block comment left, br: block comment right.\n\" e.g.\nlet g:commenter_custom_map =\n  \\ {'ouo': { 'll': 'QuQ', 'bl': '/OuO ', 'br': ' OuO/' }}\n\n\n\" Show the comment information by default.\nlet g:commenter_show_info = 1\n\n\n\" Trim leading and trailing white spaces when searching comment by default.\n\" For example: `/* ` will search `/*`, it is good to avoid without space\n\" in sometimes leaded comment not be detected.\nlet g:commenter_trim_whitespace = 1\n\n\n\" Allow comment the empty line by default\nlet g:commenter_comment_empty = 1\n```\n\n![show\\_info](https://imgur.com/x0GGgGd.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faben20807%2Fvim-commenter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faben20807%2Fvim-commenter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faben20807%2Fvim-commenter/lists"}