-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Labels
Description
Hi there, I'd like to propose a feature similar to equivalence_classes
, but one-way.
As a motivating example, suppose I want to make the .
character equivalent to any special character, because it's easier to type than most:
equivalence_classes = { ".`~!@#$%^&*()-_=+[{]}\\|;:'\",<>/?" }
This works okay, but it does prevent me from ever jumping to (say) the comma character in this sequence:
","
because it's equivalent to an overlapping sequence of three dots:
...
If I could ask leap to treat .
as any operator character, but not the other way around, then I could jump to the middle comma in the above example with s,"<label>
, as usual.
Thanks!