[TxMt] Re: Letters to disambiguate keyboard shortcuts

Jacob Carlborg doob at me.com
Mon Oct 26 09:38:48 UTC 2015


On 2015-10-26 04:12, Allan Odgaard wrote:

> To clarify, with first item I mean the first item in a lexicographically
> sorted list of all the items.
>
> I.e. here “Bra…” comes before “Bro…” and that is why “Branches” gets
> selected.

Ok, I see.

> Or advantage, if you would like to verify that you jumped down to the
> correct item.

You don't get that with the numbers

> FYI this keyboard support is standard menu behavior and not specific to
> TextMate.

Yeah, I suspected that.

> In the Subversion bundle we prefix items that we want to “skip” with a
> hair space (U+200A).
>
> It does give the item a slight indent, but hardly noticable. The problem
> with the zero-width characters are, that they seem to be ignored by the
> “type to select” algorithm.
>
> If you add hairspace to the Branches… menu item then please submit a PR
> as I also occasionally use Browse but never Branches.

I'll give it a try and see how it works.

-- 
/Jacob Carlborg



More information about the textmate mailing list