-
-
Notifications
You must be signed in to change notification settings - Fork 448
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
Keep selection after commenting #528
Comments
You looking for |
Sorry @alerque I do not follow, could you please elaborate?
|
Because there are a variety of possible use cases and starting scenarios, I'm not sure it makes sense to try to bake this into NERDCommenter itself, but VIM already provides the tooling to compose actions like this yourself. gv reselects that last visual mode selection range, so all you need to do is write yourself a map bound to whatever you like that calls the comment function you'd like and then |
Hi @alerque , thanks for your comment.
but presents a erratic behavior. |
Is there a way to keep a selection after commenting?
Thanks!
The text was updated successfully, but these errors were encountered: