Find As You Type: Prioritize shorter/exact aliases for Folder Mode

I use short aliases such as eb for my eBooks folder and ebs for my eBooks/Sports subfolder.

When I type eb, DOpus prioritizes ebs instead of the shorter (and exactly matching) eb alias.

The FAYT find mode has a Preferences / Filtering and Sorting / Find-As-You-Type / Find Mode / Prioritize shorter filenames option. However, there’s no such option for folders mode (and aliases in particular).

Can this please be improved? Ideally, by prioritizing exact matches. Thanks.


Related: Find As You Type: Prioritize shorter file names

2 Likes

It doesn't prioritize anything specifically, it just auto-selects the last item in the popup list.

Thanks @Jon. That’s interesting - do you mean there isn’t any defined sort order for FAYT results? To me it seemed that DOpus first lists items I’ve recently picked (by hitting ENTER).

I still think prioritizing exact matches would be helpful.

If it’s an alias called “eb”, typing /eb into FAYT should work, without involving FAYT’s Folders Mode.

I have set / to trigger FAYT folder mode and with it /eb it shows exactly the same result (/ebs listed first).

I guess you’re referring to Go mode?

Yes, go mode not folder mode, without changing the quick keys. In the default config, just type the alias name in (starting with the slash) and it should work.

Understood. I’m not using the default config (but folder mode instead) and think this mode should implement some kind of sort order, at least prefer exact matches, along possibly other features like “most recently used”. Thanks.

I’d like to revisit this issue. I’d be very helpful if FAYT folder mode auto-selects exact matches for aliases.

Example of the current behavior: I have an alias nc and when typing /nc, (/ triggers folder mode), DOpus selects the last item that happens to contain nc in it’s path. That’s impractical.

I understand you could implement all kinds of prioritization mechanisms in there and this is non-trivial, but I think adding “prefer exact matches” would make a useful and quick improvement. :slight_smile:

/ should not trigger folder mode. That the whole problem really. :slight_smile: Use a different key for folder mode, and type aliases into the normal go mode (starting with a /), and it'll work how you want.

I can’t seem to set Go mode as the default and can’t set a hotkey either. There’s a “stop icon” when I hover over it with the cursor, see the screenshot below.


That said, I think Folder mode is more powerful than Go mode (esp. including favorites) and I have the option to configure it as the default (or using /), so why shouldn’t it work as expected?

In the next beta we'll add an option for Folders mode to auto-select the closest match.

3 Likes