# Anki global shortcut for searching selected text in the card collection

**URL:** <https://forums.ankiweb.net/t/anki-global-shortcut-for-searching-selected-text-in-the-card-collection/20982>\
**Category:** Add-ons\
**Created:** [June 24, 2022, 4:50am UTC](https://forums.ankiweb.net/t/anki-global-shortcut-for-searching-selected-text-in-the-card-collection/20982 "2022-06-24T04:50:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nzarbayezid](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@nzarbayezid](https://forums.ankiweb.net/u/nzarbayezid)\
**Post date:** [June 24, 2022, 4:50am UTC](https://forums.ankiweb.net/t/anki-global-shortcut-for-searching-selected-text-in-the-card-collection/20982/1 "2022-06-24T04:50:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [June 24, 2022, 10:23am UTC](https://forums.ankiweb.net/t/anki-global-shortcut-for-searching-selected-text-in-the-card-collection/20982/2 "2022-06-24T10:23:55Z")

</div>

There is this add-on that defines global hotkeys: [Global hotkeys (keyboard shortcuts) - AnkiWeb](https://ankiweb.net/shared/info/1146841074)  
But unfortunately, it doesn’t support searching for selected text. You can suggest this feature to the author here: [Issues · BrayanDSO/anki\_addons · GitHub](https://github.com/BrayanDSO/anki_addons/issues)  
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](https://github.com/abdnh/hoarder/blob/master/src/main.py). Maybe I’ll write a similar add-on for this too.

---

<div class="post-metadata">

**Author:** ![jac0b](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@jac0b](https://forums.ankiweb.net/u/jac0b)\
**Post date:** [September 19, 2025, 7:48am UTC](https://forums.ankiweb.net/t/anki-global-shortcut-for-searching-selected-text-in-the-card-collection/20982/3 "2025-09-19T07:48:47Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![llama](https://avatars.discourse-cdn.com/v4/letter/l/8baadc/32.png) [@llama](https://forums.ankiweb.net/u/llama)\
**Post date:** [September 19, 2025, 9:21am UTC](https://forums.ankiweb.net/t/anki-global-shortcut-for-searching-selected-text-in-the-card-collection/20982/4 "2025-09-19T09:21:33Z")

</div>

The [AJT Japanese](https://ankiweb.net/shared/info/1344485230) addon comes with a browser search context menu shortcut if you need something quick

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [September 20, 2025, 1:00pm UTC](https://forums.ankiweb.net/t/anki-global-shortcut-for-searching-selected-text-in-the-card-collection/20982/5 "2025-09-20T13:00:45Z")

</div>

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

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

> **[Chrome Web Store](https://chromewebstore.google.com/search/Anki)**
>
> Add new features to your browser and personalize your browsing experience.

---

<div class="post-metadata">

**Author:** ![jac0b](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@jac0b](https://forums.ankiweb.net/u/jac0b)\
**Post date:** [September 21, 2025, 2:17pm UTC](https://forums.ankiweb.net/t/anki-global-shortcut-for-searching-selected-text-in-the-card-collection/20982/6 "2025-09-21T14:17:54Z")

</div>

Okay I’ll try thanks!

Never thought you’d respond so much later haha
