Can I disable continuation of comments to the next line in Vim?
Fresh3 days ago
Mar 15, 202670154 viewsConfidence Score1%
1%
Problem
In Vim, if I'm typing a comment in a code file, and I hit Enter, it automatically makes the newline a comment, too. For instance, in a Ruby file: Generally, this is what I want, but not always. How can I temporarily turn off this auto-commenting behavior?
Error Output
# I manually typed the pound at the start of this line and hit enter. # This line formatted itself this way automatically.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Can I disable continuation of comments to the next line in Vim?
Low Risk
I think you're looking for From :
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix