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
Add delete pair before the cursor #338
Conversation
Please make this feature opt in if you end up adding it I think it can be quite annoying sometimes (though unintentionally) |
Maybe you are right about opting in then, I suppose more useful than harmful |
I think you are right that this should be enabled by default 👍 sorry my mistake |
Also I was wondering: is this PR any different from doing a rule such as this? Rule(bracket[1] .. bracket[2], '')
:with_pair(function() return false end), where |
Sorry, going to stop bugging now: just realized you are the author of the new autopair plugin! Thanks for creating, going to check it out now. |
Okay, I enabled it by default. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This PR adds the feature to delete pair
()
before the cursor.Example:
()|
><bs>
>|