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
When I block select only one line and try to uncomment it by using gc in .py files, it gets commented again, instead of uncommented if comment symbol is at the begining of a line. This behaviour also applies for other file types too.
The text was updated successfully, but these errors were encountered:
albertas
changed the title
gc does not uncomment if only one line is selectedgc does not uncomment if only one line is selected and the comment symbol is at the begining of a line
Jan 23, 2020
I visually select first import line by clicking shift+v and comment it with gc.
# import time
import os
Some time passes and I want to uncomment that line, so go on it, click shift+v and gc and the result is another comment instead of uncommented line:
# # import time
import os
Why do I use this combination? I got used to using gc for toggling comments disregarding the size of code block. The same applies for .vimrc edits - sometimes I want to toggle commenting for a single line.
When I block select only one line and try to uncomment it by using gc in .py files, it gets commented again, instead of uncommented if comment symbol is at the begining of a line. This behaviour also applies for other file types too.
The text was updated successfully, but these errors were encountered: