eg: typing "linux @l" should search "linux lemmy" and "beatles @mb" should search "beatles musicbrainz",
where I define these shortcuts
eg: typing "linux @l" should search "linux lemmy" and "beatles @mb" should search "beatles musicbrainz",
where I define these shortcuts
10 Comments
kevincox@lemmy.ml · 20 pts · 2y
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 linuxrather thanlinux @l.Create a new bookmark with these settings:
%s. For examplehttps://kagi.com/search?q=%s+site:https://lemm.ee.@l.Now you can type
@l foobarin the URL bar and it will go tohttps://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.
somethingsomethingidk@lemmy.world · 4 pts · 2y
Cool! I had no idea that was a feature, thanks for sharing
kevincox@lemmy.ml · 3 pts · 2y
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.
Ozy@lemmy.world · 2 pts · 2y
YES THERE IS, THERE IS A TOOL FOR LINUX THAT TURNS KEYWORDS INTO WHATEVER YOU WANT THEM TO BE,
I just need to find it again so hold onFOUND IT, IT'S https://espanso.org/bionicjoey@lemmy.ca · 1 pts · 2y
This is one of the features in chrome that I wish Firefox would implement.
noodlejetski@lemm.ee · 1 pts · 2y
you're looking for text expander software.
or you could use DuckDuckGo, its !bang feature lets you directly search on a website you want. searching "Beatles !mb" will redirect you to MusicBrainz' search results, for example.
kevincox@lemmy.ml · 1 pts · 2y
Firefox has keyword bookmarks which is basically identical to bangs but you can customize them to your preference and they don't require sending your query to a third-party remote service.
Just set the "Keyword" option in a bookmark and type
mykeyword fooin the URL bar to search using your bookmarkmykeyword. I use a lot of one-character keywords such asmforhttps://www.google.ca/maps?q=%s,gforhttps://www.google.com/search?q=%s,dforhttps://www.dndbeyond.com/search?q=%sand similar. I also have a keywordewhich runs a bookmarklet that fills in a one-time email into the currently focused input field.noodlejetski@lemm.ee · 2 pts · 2y
sure, it's just a pain in the ass to set up for more than a few search options.
kevincox@lemmy.ml · 1 pts · 2y
IDK, maybe I have a particularly bad memory but it is basically as easy for me to bookmark a URL as it is to lookup and remember a bang that they defined. Plus local will always be faster, more private and more secure.
majestic@sh.itjust.works · 0 pts · 2y
You could try system wide macros. If you type @l, macro deletes last 2 chars and types lemmy