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

Text object for comments #22

Open
disconsis opened this issue Apr 20, 2019 · 0 comments
Open

Text object for comments #22

disconsis opened this issue Apr 20, 2019 · 0 comments

Comments

@disconsis
Copy link

vim-commentary provides a text object gc which can be used to address all adjacent comments.
It would be quite useful if evil-commentary could also provide this.

One very common use case is dgc for deleting all comments. Currently, you would need to visually select all commented lines and then delete (unless I'm missing something).

This is related to #20 but more general, as gcgc is only a special case of using the gc text object.

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