VSCodeVim / VSCodeVim/Vim

Support `gcgc` vim-commentary binding

Open
#4,209 0 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/plugin kind/feature
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Is your feature request related to a problem? Please describe.
Vim-commentary supports the keybinding gcgc which will untoggle an entire block of adjacent commented code. This seems to be one of the few features in vim-commentary not supported here.

Describe the solution you'd like
When the cursor is in the middle of a commented block of code, gcgc will uncomment the entire section, including all the commented lines before and after the cursor.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by tracing the existing vim-commentary keybinding handling and reproduce the behavior in VS Code with the cursor inside a commented block; done means gcgc finds the adjacent commented lines and uncomments the entire section.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.