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

Replace selection with a pair if delsel is on and autowrap is off #1164

Open
Fuco1 opened this issue May 29, 2023 Discussed in #1163 · 0 comments
Open

Replace selection with a pair if delsel is on and autowrap is off #1164

Fuco1 opened this issue May 29, 2023 Discussed in #1163 · 0 comments

Comments

@Fuco1
Copy link
Owner

Fuco1 commented May 29, 2023

Discussed in #1163

Originally posted by Patrick-Poitras May 21, 2023
Hello.

I'd like for the behavior of inserting a pair with a highlighted region to be replacing the region with the pair.

That is, if I have this is a |thing with thing highlighted, I'd like the insertion of "(" to result in this is a (). Currently it gives this is a (thing) when sp-autowrap-region is t, and this is a ()thing when it is nil.

Delete-selection-mode is t.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To triage
Development

No branches or pull requests

1 participant