Skip to content

search should search the description and the filename #4

@PhilETaylor

Description

@PhilETaylor

Love this workflow thanks.

I have had to change my workflow slightly as I pretty much never give my gists a filename, but pretty much always have a description.

Using your screenshot here as an example, if I search for "API" then I would expect the curl.md to be filtered and be the only one showing. Or if I search for password I would expect pdf.md item to be selected.

At the moment only the title is filterable.

Making sense?

What I changed (for now) is to swap around the title and subtitle in the code block below, but that will be wiped out on each upgrade so maybe you have a better, or configurable way to implement this.

 alfreditems['items'].append({
        "mysortkey": mysortkey,
        "uid": title,
        "title": description,
        "subtitle": title,
        "autocomplete": description,
        "arg": url,
        "icon": {
            "path": icon
        }
    })

alfred-gist-submenu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions