Anki version 2.1.64 from 2023-05 offers you to adjust the shortcuts to rate in the Preferences. So for 2.1.64 or later this add-on is only useful if you want to have multiple shortcuts to rate or if you want to adjust the action that shortcuts trigger when you see the front side.
This add-on does not work in Anki 2.1.63 because of this change. For background see here. If you are on 2.1.63 update to 2.1.64 or newer.
# Alternatives, useful other add-ons
If you just want to remap the answer keys you could also have a look at Customize Keyboard Shortcuts. This add-on is also useful to remap other review related shortcuts like undo, bury, suspend, flag etc.
There's also the more recent add-on Flexible Grading that in 2023-05 should offer the same and more functionality (though I haven't used it myself).
This add-on allows you to set additional shortcut keys to rate your cards. Usually this is used for rating with the right hand (e.g. with hjkl) and
[option a] ... you can configure whether pressing an answer key while you see only the question answers the card directly without showing you the answer (as the similar add-ons (Right Hand Reviews (jkl;) and Right Hand Answer Shortcuts do it). Or the answer keys can just unveil the answer (just as the 2.0 add-on Right-hand reviews with jkl; did it). The latter is the default.
[option b] ... you can configure the answer keys (defaults are "h" for 1, etc) from the add-on window.
[option c] ... you can configure if the meaning of the "2" and "3" key should be adjusted depending on the number of buttons you see. This will be less important once the V2 scheduler is no longer experimental but the default. Then you'll also have 4 buttons for new and learning cards, see this document and this source code on github. This is disabled by default.
# Configuration
You can configure this add-on in the usual way for 2.1: Go to "Tools->Add-ons" (from the menu bar of the main window). In the window that opens select the name of this add-on in the list on the left, then click the button "Config" on the right side.
If you want to rate with the arrow keys use "Qt.Key_Right", "Qt.Key_Left", "Qt.Key_Down", "Qt.Key_Up". If you add a line to this part of the source code of this add-on you should be able to use any key that the underyling toolkit qt knows. A list of all qt.keys can be found e.g. here.
# bugs, feedback
If you find any bugs or have some feedback it's best to leave a message in the official support forum or on github.
You can quickly confirm if it's working by checking how Anki registered the answer with add-ons like Answer Confirmation for 2.1 or Extended Card Stats During Review.
Use it at your own risk.
This add-on started as a modification of Austin Hasten's Right Hand Reviews (jkl;).
# versions
- 2023-05-24 disable in 2.1.63 and suggest user to update to .64
- 2021-12-06 fix for Anki 2.1.50/qt6
- 2019-12-22
- 2019-08-20 initial release
# conflicting add-on
My add-ons does not work with the add-on GODMODE: faster shortcuts and cloze switching (version from 2020-06-10). For details see here.
# about about other right-hand/ hjkl add-ons
There are many other add-ons for right hand answering. At the moment (2019-08-20) the ones I find all have some problem in my view:
-
(addon 1) Handy Answer Keys Shortcuts (2.0 only, last updated in 2013-07-06, 58 upvotes): I dislike how [option c] is setup; rate from question; for details see below.
-
(addon 2) Handy Answer Keys Shortcuts Amended (2.0 only, last updated in 2016-12-09, 1 upvote): I dislike how [option c] is setup; rate from question
-
[addon 3] Handy Answer Keys Shortcuts Plus (2.0 only, last updated in 2019-06-16, 0 upvotes): I dislike how [option c] is setup; on question unveils answer
-
[addon 4] Right-hand reviews with jkl; (2.0 only, last updated in 2013-11-12, 22 upvotes): on question unveils answer, no [option c]
-
[addon 5] Right Hand Reviews (jkl;) (2.1 only, last updated in 2019-03-18, 8 upvotes): no [option a],[option b],[option c]
-
[addon 6] Right Hand Answer Shortcuts (2.1 only, last updated in 2020-03-15, 3 upvotes): no [option a],[option b], only since 2020-03-15 [option c] implemented
-
[addon 7] Answer Shortcut Keys (2.1 only, last updated in 2018-01-27, 7 upvotes): only remaps keys by overwriting/monkeypatching Reviewer._shortcutKeys: no [option a],[option b],[option c]
-
[addon 8] GODMODE: faster shortcuts and cloze switching (2.1, last updated in 2020-06-10) remaps keys by overwriting/monkeypatching Reviewer._shortcutKeys - it seems to include a copy of the code of the add-on "Customize Keyboard Shortcuts": no [option a],[option c]
-
when you press an answer button with [addon 5] and [addon 6] the cards is directly rated. So you can't use "k" to unveil and then rate. So no add-on for 2.1 offers to show the answer.
-
none of these add-ons support the 2.1 config dialog so that you can quickly change the keys.
-
[addon 1], [addon 2], [addon 3] adjust the meaning of the buttons. [addon 1] and [addon 3] have inconsistent behavior in my view. Among this pressing "l" on a three button card (like a learn card with the default scheduler) when only the question is shown rates it as "good", whereas when you see then answer it's rated as "easy" (for details see below).
# about the "Handy Answer Keys" add-ons for 2.0
The highly popular [addon 1] Handy Answer Keys Shortcuts (in 2019-08-20 58 upvotes and last updated in 2013-07-06) has this source code:
elif key == "k":
if isq:
self._answerCard(self._defaultEase()) # is either 3 (for four buttons, review) or 2
else:
self._answerCard(2)
So the meaning of the button "k" changes: If you just see the question a review card gets rated as "good", if you see the answer it gets rated as "hard".
You also have this:
elif key == "l":
if isq:
self._answerCard(self._defaultEase())
else:
self._answerCard(3 if cnt >= 3 else cnt)
"self._defaultEase()" evaluates to three for four buttons, else two. So pressing "l" on a learn card when only the question
is shown rates it as "good", whereas when you see then answer it's rated as "easy".
[addon 2] Handy Answer Keys Shortcuts Amended (in 2019-08-20 1 upvote and last updated in 2016-12-09) removes this ambiguity. But it still has this code:
elif key == "l":
self._answerCard(3 if cnt >= 3 else cnt)
This means that the third key "l" means easy for learning cards but "good" for cards in review. So the meaning changes.
[addon 3] Handy Answer Keys Shortcuts Plus (in 2019-08-20 0 upvotes and last updated in 2019-06-16) has the same key meanings as the original add-on from 2013.