Jump to content

1. Fuzzy multiple keywords 2. prioritize folders


joe_g

Recommended Posts

Heyhey,

thanks for a great app. Top wishes are 

 

1. Multiple fuzzy keywords, so I can write "ht we" to go to "httdocs/website". Or even better "sub ht we" opens "httpdocs/website" in sublime text. This is something I expected to work when I bought Alfred

 

2. Included folders in the search are not prioritised. I can't find a way for results from, say /httpdocs to be before others. My only option is to only include the folders that are the most necessary, but that is restricting.

 

best,

J

Link to comment
Share on other sites

Heyhey,

thanks for a great app. Top wishes are 

 

1. Multiple fuzzy keywords, so I can write "ht we" to go to "httdocs/website". Or even better "sub ht we" opens "httpdocs/website" in sublime text. This is something I expected to work when I bought Alfred

 

2. Included folders in the search are not prioritised. I can't find a way for results from, say /httpdocs to be before others. My only option is to only include the folders that are the most necessary, but that is restricting.

 

best,

J

 

For no.2 your best bet is to setup a workflow file filter. That way, you can refine your search requirements, including a specific scope e.g. only things inside httpdocs.

Link to comment
Share on other sites

Or even better "sub ht we" opens "httpdocs/website" in sublime text.

That would be way too complex for Alfred to even begin to guess on its own. A third of your command is calling an app by it’s incomplete name, and the other is passing in different phases of a different kind of argument. If Alfred took all those possibilities into consideration every time you type something, it would be a resource-hungry slow beast.

 

This is something I expected to work when I bought Alfred.

However, just because Alfred does not (and should not) do it by default, it does not mean it cannot be accomplished — that is the job of workflows. There’s more than a few Sublime Text workflows, so you should be able to find one on the forums that fits your needs. This one works well, and does what you want (the search is not as fuzzy as you wish, but that can be accomplished. You can use it with a keyword, or you can find a directory via Alfred first, and open it with Sublime Text only then.

 

Workflow’s are meant exactly for this. Instead of Alfred being slowed down by trying to guess what you mean (which would be very close to impossible, since everyone would expect slightly different things from the same commands), you tell it what you mean by instructing it on what to do with specific keywords and actions.

Link to comment
Share on other sites

  • 3 weeks later...

Just to say I'd love to see multiple fuzzy keywords, or rather the support for specifying search paths/parent directories. At the moment I have a lot of projects with common subdirectories which I often want to jump straight to, so by nature I'll type 'open img'. However as I now have quite a few img subdirectories finding the one I want tends to require browsing the search results, and often running a second search for the parent directory and browsing in Alfred to the subdirectory.

 

Similarly I've noticed that on occasion Alfred's search results get cluttered with system files I've no interest in most of the time. Again being able to direct the search or limit it to specific area quickly seems like it would clean that up. I know I could edit the preferences to restrict where Alfred searches, but I sometimes I do want Alfred to find those files.

 

My ideal solution (and I know that users are often misguided) would be to be able to either be able to specify parent directories in the search, such as 'open Prog App1 img' or 'open Prog/App1/img'

 

If it's possible to implement this through workflows I'd be tempted to spend the time implementing it, though ideally I'd love it to be part of the standard open command.

 

Generally Alfred has become a must have app for me and one that I don't think I could live without. And while this isn't a massive niggle, it is the one thing I come up against on a daily basis. 

Link to comment
Share on other sites

  • 3 weeks later...

This is something I've wanted to do as well, and I finally got around to doing something about it. Have a look here. This might do what you want.

Unfortunately, you'll have to add your own Script Filters to the workflow if you want to search in directories other than ~/Documents.

Also, while it performs okay on folders only (the default), if you set it to also search files (with the --files option), performance suffers a lot.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 years later...
On 31/01/2014 at 9:44 AM, vitor said:

 

That would be way too complex for Alfred to even begin to guess on its own. A third of your command is calling an app by it’s incomplete name, and the other is passing in different phases of a different kind of argument. If Alfred took all those possibilities into consideration every time you type something, it would be a resource-hungry slow beast.

It might not be too bad if such fuzzy matching was reserved for previously used shortcuts. If 'sub', 'ht', 'we' has been used for particular files, searchs, apps, etc. why not include them. A closer fuzzy match as first requested, I haven't thought about it much yet, but including previously used abbreviations, that seems doable.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...