wincompose icon indicating copy to clipboard operation
wincompose copied to clipboard

Listing sequences that use a given key

Open nmatt opened this issue 3 years ago • 4 comments

I repeatedly have the use case that I'd like to know which existing sequences use a specific key (for example which sequences use the key "a"), in order to check which existing sequences a potential new custom sequence would collide with. I'm not sure if the search filter function in the Sequences dialog also searches in the keys, but even if it does, it's not practical for the above purpose, because there are too many false positives (i.e. matches in the replacement or the description). So it would be helpful if there was a feature to specifically filter for keys.

That could be a UI option, or a special search syntax like "key:a". What would also help, at least in some cases, is an option to sort the list by key sequence instead of by replacement.

nmatt avatar Mar 11 '21 15:03 nmatt

Came here to say the same.

Please let us filter by sequence.

Thanks.

Ampa avatar Apr 30 '21 12:04 Ampa

Does this look good? (planned for 0.9.9)

image

samhocevar avatar Jun 03 '21 13:06 samhocevar

That looks quite nice! Does it also work for specifying (sub)sequences, e.g. "key:ab"? There may be cases where "key:a key:b" would result in a lot of matches, but you're really only interested in those containing the specific subsequence "ab".

nmatt avatar Jun 03 '21 14:06 nmatt

Yes. Looks useful. Thanks.

@nmatt suggestion would be welcome too, if possible.

Ampa avatar Jun 12 '21 12:06 Ampa