Skip to content
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

feature: comment current line if no region is marked for comment-or-uncommnet-region command. #1614

Open
sakurawald opened this issue Nov 19, 2024 · 0 comments

Comments

@sakurawald
Copy link
Contributor

sakurawald commented Nov 19, 2024

The command comment-region will comment current line if there is no region marked. (In other words, it's now in vi-normal mode.)

However, the command comment-or-uncomment-region will not comment current line if there is no region marked. This is annoy, if i only want to comment 1 single-line, i have to switch to vi-visual mode, and use comment-or-uncomment-region, and switch back to vi-normal mode.

This is also the same in case you want to un-comment a single-line.

@sakurawald sakurawald changed the title feature: comment current line if no region is selected for comment-or-uncommnet-region command. feature: comment current line if no region is marked for comment-or-uncommnet-region command. Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant