-
Notifications
You must be signed in to change notification settings - Fork 722
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
<a-z>i within original selection should produce result #3560
Comments
This is the same feature I requested here: #3504 PS. |
@vbauerster I might be misunderstanding you, but no, it is not "negated AND". What you describe in your second example is the symmetric difference https://en.wikipedia.org/wiki/Symmetric_difference From your example, I'm quite convinced it's subtraction. Please have a look at the linked issue and I think you will agree. In that issue, we also discuss paired vs non-paired operations, which likely relates to what you call single/multiple. Please check it out and join the discussion. Also, if you want to try it out, this is my non-paired ("multiple") patched version https://github.com/mreppen/kakoune/tree/subtract |
I wish
<a-z>i
would allow me to intersect two selection lists with not equal number of elements (selections), if other selections are within original one. It's hard to explain with words so here is illustration:So selection is saved first with
Z
, then we have two more selections with help of<a-S>
(both are within original), next we want to intersect in order to get result as depictured above on third line.At the moment
<a-z>i
complains likethe two selection lists don't have the same number of elements (1 vs 2)
.Also imo following (same number of selections, but the second one is within the first one) should also work like this:
The text was updated successfully, but these errors were encountered: