Comment and uncomments stuff in Vim using motion as a target
Comment stuff out. 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), and gc in visual mode to comment out the selection. That's it. Oh, and it uncomments, too. The above maps actually toggle, and gcgc uncomments a set of adjacent commented lines.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 1.3-11.fc35 | - |
Fedora 35 | 1.3-11.fc35 | - |
Fedora 34 | 1.3-10.fc34 | - |
You can contact the maintainers of this package via email at
vim-commentary dash maintainers at fedoraproject dot org
.