Rare find

Commentary. Quickly comment out or uncomment lines of code in Vim.

vim.org/scripts/script.php?script_id=3695

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

October 2024
  • Tweak whitespace logic when nesting a comment
April 2024
  • Fix hasmapto() condition not working as intended
January 2024
  • Mention filetype command in README
October 2022
  • Fix nesting of closing comment on separate line
March 2022
  • Bump minimum Vim version to 7.3
September 2021
  • Always uncomment with :Commentary!
March 2021
  • Call setline() once with list to improve performance
November 2019
  • Use React friendly nesting variant
  • Add sponsor button
September 2019
  • Add b:commentary_startofline option
July 2018
  • Avoid error on blank 'commentstring'
  • Use v:operator to avoid mapping cgc
  • Update installation instructions
May 2018
  • Set '[ and '] in visual mode
April 2018
  • Drop support for <Plug>CommentaryUndo
  • Fix linter issues
  • Fix gcc with remapped _
  • Fix argument handling
  • Handle leading count to g@
  • Use :Commentary from xmap