Skip to content

Vim9 commenting plugin inspired by VS Code’s Ctrl + / behavior.

Notifications You must be signed in to change notification settings

nda-cunh/SupraComment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

SupraComment.vim

A simple and fast Vim9 commenting plugin inspired by VS Code’s Ctrl + / behavior.

SupraComment

Features

  • 🔁 Toggle comments like VS Code (Ctrl + /)
  • ✍️ Works in Normal and Visual mode
  • ⚡ Written in Vim9script

🎯 Supports

  • Toggle comment (VS Code style)
  • Force comment
  • Force uncomment

⌨️ Shortcuts

Mode Keybinding Action
Normal Visual Ctrl + / Toggle comment on current line
Normal Visual \ Force comment on current line
Normal Visual Ctrl + \ Force uncomment on current line

you can use it with a prefix count to comment/uncomment multiple lines. eg: 3<Ctrl+/> will toggle comments on the next 3 lines.

About

Vim9 commenting plugin inspired by VS Code’s Ctrl + / behavior.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors