-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't uncomment a wrapped portion of a line #26
Comments
Please give me more details. |
When you make a wrapped comment using a visual selection that isn't a full line,or is several lines where there is some unincluded text at either end,you can't unwrap that comment it seems. I've tried with both the gcuw and the gcuu maps in both visual and normal modes. |
@bounceme I can't reproduce this.
|
And sorry for delay to reply... ;( |
I tried to reproduce in Code /* printf("hello\n"); */
printf("hello\n"); Steps to reproduce
Above steps change current buffer like below printf("hello\n");
printf("hello\n"); |
Hm, what keymapping do you mean? |
Hey, thanks for getting to this issue. you can use visual mode to select just the word "hello", then press "gcw" which comments out the selected word. The issue is that using any keycap from this plugin won't uncomment that word in the middle of the line.I don't really find this to be a very important problem though |
Okay, now I understand. gcw (comment) currently working
int one_or_two = 1;
if (one_or_two == 1) {
} else [if (one_or_two == 2)] { to int one_or_two = 1;
if (one_or_two == 1) {
} else /* if (one_or_two == 2) */ { gcuw (uncomment) currently not workingIn wrap comment and while normal-mode: } else /* if (one_or_two == 2) */ { to } else if (one_or_two == 2) { |
Concise example (from #84) ExpectedTyping int i = /* 1 ? 2 : */ 0; results in int i = 1 ? 2 : 0; GotTyping int i = /* 1 ? 2 : */ 0; |
Fixed in #118 |
The plugin can wrap some of a line from visual mode but can't uncomment it.
The text was updated successfully, but these errors were encountered: