keycombiner icon indicating copy to clipboard operation
keycombiner copied to clipboard

Idea for visualising sequences

Open Drakula44 opened this issue 2 years ago • 2 comments

Describe the solution you'd like So basically my idea is that if you want to see a sequence that occurs for example when you press shift+f you select it on the visualizer and then click the button to show sequences. And the list below would be filtered so that it only shows sequences that start with that key combinations. It is similar to how the sequences are shown in the emacs (I have seen it in spacemacs and doom emacs) when you start hitting sequence and you stop, emacs would pop up the list of what the next character could be and what it would do. Also if this is the way that is being implemented it would be cool if it is possible to assign like name or description for the part of the sequence for example in vim "c w" "c i w", "c i ' ", "c i "", sequences that start with "c" would be in group "change" and then "i" would be subgroup "inner". Not sure how would you realize the second part but anyway thanks for your consideration.

Drakula44 avatar Apr 22 '22 19:04 Drakula44

Thanks for this idea!

I just noticed that filtering for sequences via the visualizer is buggy even in its current form :grimacing: Clicking on g should filter for all combinations (including sequences) that include g. However, it seems that sequences that start with g are not shown. I will fix that!

Regarding your idea, I am not so sure yet. I will contemplate it a bit and try to come up with something. I don't want to add a lot of complexity to the visualizer just to support sequences better. It's already quite confusing for some beginners.

tkainrad avatar Apr 23 '22 08:04 tkainrad

The bug with filtering for keys that are the start of a sequence has been fixed.

kc-filtering-sequences

Leaving this issue open for your ideas regarding visualizing sequences.

tkainrad avatar May 03 '22 10:05 tkainrad