switcher icon indicating copy to clipboard operation
switcher copied to clipboard

Remember keyword<->result frequency

Open stavfx opened this issue 2 years ago • 1 comments

Would it be possible for Switcher to "remember" that when I searched for "ch" last time I chose to activate "Chrome" so it'll bubble it up to be the first option? This is kinda how Alfred works on mac and you can "train" it by manually selecting a specific application a few times. This way we can have stable results (e.g. Alfred now remembers "s" means Slack but "sl" means Sleep)

stavfx avatar May 20 '22 23:05 stavfx

There's some scoring already for launching apps, but it isn't dependent on the search phrase so it only learns that you prefer some commonly used application to another that matches but that you don't actually want. https://github.com/daniellandau/switcher/blob/master/modes/launcher.js

daniellandau avatar May 21 '22 06:05 daniellandau