You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The title was a bit confusing, just wasn't sure how to phrase it.
Hitting gc with a visual selection:
If one has an inline selection, we get block comments:
Using the visual line mode we should get line comments
But what about non line visual mode spanning multiple lines, currently we get line comemnts for the full line as well, but that doesn't actually comment the section that was selected but also the rest of the line.
It would be neat if we could have block comments then:
I could also see having line comments, but only the selection, though that would need a bit more logic to detect whether there is anything after the selection in the last line:
Same consideration should be given to visual block select:
Exspecially, because while for the other examples gb can be used instead, that is not the case here:
The text was updated successfully, but these errors were encountered:
The title was a bit confusing, just wasn't sure how to phrase it.
Hitting
gc
with a visual selection:If one has an inline selection, we get block comments:
Using the visual line mode we should get line comments
But what about non line visual mode spanning multiple lines, currently we get line comemnts for the full line as well, but that doesn't actually comment the section that was selected but also the rest of the line.
It would be neat if we could have block comments then:
I could also see having line comments, but only the selection, though that would need a bit more logic to detect whether there is anything after the selection in the last line:
Same consideration should be given to visual block select:
Exspecially, because while for the other examples
gb
can be used instead, that is not the case here:The text was updated successfully, but these errors were encountered: