Files
vim-ale/vim-commentary
AJ ONeal 9f28505af7 ref: delete unreachable upstream-fetcher modules
Stacked on the modifications PR. Now that no live code path references
the per-package fetchers, the shared HTTP/parsing helpers, the
in-process normalizer, or the example template, delete them. Pure
deletion — no behavior change.

- ~93 per-package <pkg>/releases.js fetcher modules.
- _common/{brew,fetcher,git-tag,gitea,github,github-source,
  githubish,githubish-source}.js shared HTTP/parsing helpers.
- _webi/normalize.js in-process normalization layer (cache files
  arrive normalized from webicached).
- _example/releases.js fetcher template for new packages.

The Go cache daemon (webicached) is now the sole producer of release
metadata; the Node process never makes an upstream request.
2026-05-08 16:31:59 -06:00
..
2023-02-26 05:57:14 +00:00
2026-03-08 19:38:49 -06:00
2023-02-26 05:57:14 +00:00

title, homepage, tagline
title homepage tagline
vim-commentary https://github.com/tpope/vim-commentary Toggle blocks of line comments.

To update (replacing the current version) run webi vim-smartcase.

Files

These are the files / directories that are created and/or modified with this install:

~/.vimrc
~/.vim/pack/plugins/start/vim-commentary/
~/.vim/plugins/smartcase.vim

Cheat Sheet

Makes it super easy to toggle entire blocks of comments.

gc
  • v to enter visual model
  • hjkl (or arrow keys) to select lines
  • gc to toggle comments on or off

How to add file types

Update ~/.vim/plugins/commentary.vim with a line like this:

autocmd FileType apache setlocal commentstring=#\ %s

How to do Advanced Vim-Nerd Stuff

All the typical navigation applies:

Use gcc to comment out a line (takes a count), gc to comment out the target of a motion (for example, gcap to comment out a paragraph), gc in operator pending mode to target a comment. You can also use it as a command, either with a range like :7,17Commentary, or as part of a :global invocation like with :g/TODO/Commentary. - The Official README