When reviewing cards on my laptop (which has no numerical keyboard), it would be nice if there were a way to give either of the four different answers using only the right hand in a somewhat fixed position.
When the front side of any card is shown, the “Show Answer” button is outlined in blue, telling me that I can press ENTER (or SPACE) to activate it and show the back side of the card. When I do that, the four ease of answer buttons will show, “Good” being likewise outlined in blue to show that I can press ENTER to select that option.
It would be nice if at this point the arrow keys on my keyboard could be used to move the outline to the other answer buttons (to be finalized by pressing ENTER). That way I could generally review cards using only the right hand in somewhat the same position on the keyboard, instead of moving it over to the left side of the keyboard to pick a number (or TAB) when I want to answer something besides “Good”.
This has the limitation that focus needs to be on the bottom bar, which is the case after you show the answer, but won’t be if you click somewhere on the card content after that.
Put the code in a file called __init__.py in a new folder and move that folder to Anki’s addons folder.
The addons folder can be accessed from Tools > Add-ons > View Files.
Thanks a bunch, that works perfectly! I still do think it would be an intuitive behaviour to be in the main program as well, though. But I’m happy it works.
@neribr: I’m sure the add-on is good, by why is it better than using the keyboard arrows?