TL;DR videos: first and second
Suppose we have C/C++ code like this, cursor on 'int x = 1' and doing motion like 'gcd' to comment two strings.
int main(int argc, char *argv[])
{
int x = 1;
//return 0;
}
Then we repeat same action to uncomment and loosing one space of indentation on each uncommenting on that two strings.
Important things here:
- b:commentary_startofline=1
- return string is already commented without space (slashes are closely to text)
- commentstring value does not matter, it can be reproduced with default /*%s*/
- filetype does not matter, it can be reproduced on python code also
- adding one more string after '//return' makes it even worse (see first video)
P.S. Thank you for plugins, they are cool! =)
TL;DR videos: first and second
Suppose we have C/C++ code like this, cursor on 'int x = 1' and doing motion like 'gcd' to comment two strings.
Then we repeat same action to uncomment and loosing one space of indentation on each uncommenting on that two strings.
Important things here:
P.S. Thank you for plugins, they are cool! =)