vim-commentary#

GitHub Repository

Description#

Comment out code easily using motions.

Main Usage#

  • gcc: Comment or uncomment the current line.
  • gc<motion>: Comment or uncomment lines matching a motion (eg. gcap for a paragraph).
  • gc (Visual Mode): Comment or uncomment the selection.