Anki global shortcut for searching selected text in the card collection

guys are there any addons that let me search selected text in card collection with a global shortcut? like in this video, I can search for any selected text with CTRL+B anywhere, but the problem with this add-one (Migaku Anki Add-on) is that it has a bug causing the ease to reset to %250.

There is this add-on that defines global hotkeys: Global hotkeys (keyboard shortcuts) - AnkiWeb
But unfortunately, it doesn’t support searching for selected text. You can suggest this feature to the author here: Issues · BrayanDSO/anki_addons · GitHub
I’ve recently written a simple browser extension that allows you to search for selected text in your Anki collection. I’ve not published it yet, though. (Maybe I’ll put a link here when I publish it).

I’ve also done something similar in an external script for sentence mining that I’m working on.
The script uses a couple of libraries to define global hotkeys, trigger a copy hotkey on selected text, and send the text to Anki via the AnkiConnect add-on: hoarder/main.py at master · abdnh/hoarder · GitHub. Maybe I’ll write a similar add-on for this too.

4 Likes

Hi, I was wondering if you published the extension to search for selected text yet. I’m sure there are many people who would love to have it!

The AJT Japanese addon comes with a browser search context menu shortcut if you need something quick

1 Like

I never used the extension after writing it quickly, so I lost the code somewhere on my drive :sweat_smile:

There are some Anki extensions on the Chrome store that will probably work for you:

1 Like

Okay I’ll try thanks!

Never thought you’d respond so much later haha