eg: typing “linux @l” should search “linux lemmy” and “beatles @mb” should search “beatles musicbrainz”,
where I define these shortcuts

  • kevincox@lemmy.ml
    link
    fedilink
    arrow-up
    21
    ·
    edit-2
    11 months ago

    You can do almost exactly this with keyword bookmarks. The only change is that you need to put the “keyword” at the start of the URL. So @l linux rather than linux @l.

    Create a new bookmark with these settings:

    • Name: Whatever you want.
    • URL: The search query you want with the text replaced by %s. For example https://kagi.com/search?q=%s+site:https://lemm.ee.
    • Keyword: The tag you want. Such as @l.

    Now you can type @l foobar in the URL bar and it will go to https://kagi.com/search?q=foobar+site:https://lemm.ee. (Or whatever search engine you have configured.

    Keywords can also be used for non-search bookmarks and javascript bookmarklets which are very convenient.

      • kevincox@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        11 months ago

        Yeah, it is sadly not advertised. Even the “Keyword” box helper text isn’t very obvious how it works. They should link to a help page.

        Not to mention that they also have search engines which work in a very similar way, but have a different UI, are harder for users to manually define and don’t sync across devices via Firefox Sync.

        It’s a big mess. But it works! So that is enough for me.