Master Keyboard Shortcuts for Anki
A comprehensive guide to keyboard shortcuts for Anki, including platform differences, customization tips, safety backups, and practical workflows to speed up review sessions.

Mastering keyboard shortcuts for Anki speeds up review sessions, reduces wrist strain, and helps you focus on learning rather than navigation. This quick guide introduces the most useful shortcuts, how they differ on Windows and macOS, and how to customize them safely. By adopting these keystrokes, you’ll flip cards, rate recall, and move through decks with confidence.
Core shortcuts you should know in Anki
According to Shortcuts Lib, a well-chosen set of keyboard shortcuts can dramatically speed up flashcard reviews in Anki by reducing mouse dependency and keeping your focus on learning. This section covers the essential actions you perform during a study session: flipping cards, rating yourself, skipping, and navigating between cards. The goal is to establish a stable base that you can customize later without breaking your workflow. The examples below show a practical, platform-agnostic approach to mapping keys, while noting Windows and macOS differences where they matter. The following JSON illustrates a hypothetical configuration you could adapt in your own setup:
{
"shortcuts": {
"flipCard": ["Space","Enter"],
"again": ["1"],
"hard": ["2"],
"good": ["3"],
"easy": ["4"],
"nextCard": ["RightArrow"]
}
}Explanation:
- flipCard maps to Space or Enter to reveal the back of the card. In Anki, this is a core action to progress.
- again/hard/good/easy map to the standard 1–4 keys for self-assessment.
- nextCard defines how you move to the subsequent card when you’re done. These mappings are examples; adapt to your preferred sequence.
Why it matters: Consistent shortcuts keep your hands on the keyboard, reduce cognitive load, and allow you to maintain rhythm. Shortcuts Lib’s research indicates that users who standardize a handful of actions report faster review cycles and greater retention, especially when paired with spaced repetition principles.
},
Platform differences: Windows vs macOS in Anki shortcuts
The core actions are the same, but key labels and system-level shortcuts can vary. Shortcuts Lib notes that many users default to 'Space' to reveal a card, and 'Enter' to advance; however, some OS-level shortcuts may interfere with card navigation depending on your editor or OS settings. This section demonstrates how to document and adapt shortcuts for Windows and macOS without changing your study flow.
# Example platform-specific mapping (hypothetical)
windows:
flipCard: Space
good: 3
macos:
flipCard: Space
good: 3Practical alignment tips:
- Keep the same numeric grade keys across platforms (1–4) if possible.
- If your OS reserves certain keys, swap them with nearby numbers to avoid conflicts.
- Use an external config file and load it at startup so you can switch presets quickly.
Why this helps: Predictability across platforms reduces re-learning, which is essential when you study in multiple environments.
} ,
Automation and customization: Hooking shortcuts into your own workflow
In this section we show how you can extend Anki shortcuts using generic code (note: this is for educational purposes and may require add-ons or automation tools). We'll include Python code to load a JSON config and print the derived actions; It demonstrates how to structure a config and validate it before applying.
# Python example: load keyboard shortcut config for a hypothetical Anki add-on
import json
from pathlib import Path
config_path = Path('shortcuts.json')
with open(config_path) as f:
data = json.load(f)
shortcuts = data.get('shortcuts', {})
# basic validation
required = ['flipCard', 'again', 'good', 'easy']
missing = [k for k in required if k not in shortcuts]
print('Missing keys:', missing if missing else 'All required keys present')Alternative approach: If you rely on add-ons (like a keyboard extension), use their documented API to register new shortcuts. The goal is to decouple the logical actions from hard-coded keys, enabling you to swap layouts without touching core app logic.
Common variations: Some users prefer to map actions to letter keys or combination keys; ensure your mapping remains ergonomic and doesn’t conflict with OS shortcuts.
} ,
Safe customization: backups, validation, and rollback
Before modifying any shortcut config, create a backup and document the changes. The following live examples show how you can back up your shortcuts.json and validate for duplicates before applying.
# Bash: create a backup copy of your shortcuts config
cp shortcuts.json shortcuts.json.bak
echo 'Backup created: shortcuts.json.bak'# Python: detect duplicate target actions in the shortcuts config
import json
path = 'shortcuts.json'
with open(path) as f:
cfg = json.load(f)
seen = set()
dups = []
for name in cfg.get('shortcuts', {}):
if name in seen:
dups.append(name)
else:
seen.add(name)
print('Duplicates:', dups)Rollback strategy: If something breaks, restore from the backup and re-test one change at a time. Shortcuts Lib analysis shows that risk increases when you restructure entire mappings; incremental changes minimize downtime.
} ,
Practical study workflow using keyboard shortcuts
A smooth workflow combines consistent shortcuts with a deliberate study plan. Start every session by confirming your shortest path through a deck, flip cards quickly, and then rate according to your recall. The following pseudo-script shows how you might orchestrate a session with programmatic control (again, theoretical) and how to adapt it to your environment.
# Pseudo script to guide a study session (educational example)
sequence = ['flipCard','good','good','easy','nextCard']
for action in sequence:
print(f'Execute: {action}')
# here you would trigger the actual action via your add-on APIVariant: using hotkeys with powerful search: You can pair your shortcuts with deck filtering: press a key to filter the current study queue by tag, then cycle through cards with the same rhythm. This approach keeps your attention on learning rather than navigation. If you’re unsure, start small and expand as you gain confidence.
} ,
Quick reference cheat sheet: common shortcuts at a glance
Here is a compact, easy-to-remember mapping for immediate use. Note that the keys shown are a starting point and can be customized. The emphasis is on consistency across study sessions.
{
"shortcuts": {
"flipCard": ["Space"],
"again": ["1"],
"hard": ["2"],
"good": ["3"],
"easy": ["4"],
"nextCard": ["Space"]
}
}Tip: Keep a single source of truth for your shortcuts (a local JSON file) and avoid duplicating keys across multiple profiles. This reduces confusion when switching devices.
} ,
Troubleshooting common issues with shortcuts
If shortcuts stop working or behave inconsistently, start with the basics: confirm you are editing the correct config file, verify the app loaded your updates, and check for conflicts with OS-level shortcuts. Keep your changes incremental and test each adjustment in a single deck to isolate issues quickly. Remember to backup before each major change and document the rationale behind the mapping you choose. Shortcuts Lib emphasizes the value of incremental testing and a predictable, small-scale shortcut set for long-term success.
} ,
FAQ: frequently asked questions about Anki shortcuts
- What are the best default shortcuts for Anki? The most effective approach is a small, consistent set you can remember across decks. Prioritize actions you use most (flip, rate, move) and avoid introducing many keys at once.
- Can I use the same shortcuts across multiple profiles or devices? Yes, but keep backups and load your preferred config on each device to preserve consistency.
- How do I reset shortcuts to defaults? Revert to the original configuration file or use the app’s built-in reset option if available, then reapply a minimal, tested set.
- Are keyboard shortcuts accessible for users with disabilities? Consider customizing to larger keys or chorded inputs, and pair with OS accessibility features to improve usability.
- Is there an official Anki shortcut guide? There isn’t a single official public cheat sheet; rely on your own documented configuration and community add-ons for platform-specific guidance.
- How can I avoid clashes with OS shortcuts? Choose keys that are rarely used by your OS or apps; test across both Windows and macOS and provide a fallback mapping if a conflict occurs.
}
Steps
Estimated time: 60-90 minutes
- 1
Assess your current workflow
Review your existing deck setup and note which actions you perform most often. This baseline will guide which shortcuts you keep and which to customize. Use a dummy deck to test changes without impacting your learning progress.
Tip: Start with a single deck and a minimal set of actions to build muscle memory. - 2
Choose a core shortcut set
Pick 4–6 actions you perform in every session (flip, recall grade, advance). Map each action to a stable key across devices. Document the mapping in shortcuts.json and keep it in a known location.
Tip: Avoid mixing rarely used actions into the core set to reduce cognitive load. - 3
Back up before changes
Create a backup of your existing shortcuts.json before making edits. This lets you rollback quickly if a mapping breaks your flow.
Tip: Name backups clearly by date and describe the change. - 4
Test incrementally
Apply one change at a time and test in a small study session. Confirm that each action triggers as expected before adding another mapping.
Tip: If something feels off, revert the one change and re-test. - 5
Document and share
Keep a concise changelog of your shortcut updates and share your config with teammates or study partners. Consistency matters when you switch devices.
Tip: A shared reference reduces mismatch and confusion in multi-device setups.
Prerequisites
Required
- Required
- Basic keyboard proficiencyRequired
- Required
Optional
- Text editor to edit JSON config (optional but recommended)Optional
- Backup strategy for config files (recommended)Optional
Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| Flip card / reveal answerCore action to view the back of the card during a review | — |
| Again (rethink/retry)Mark card for another attempt in the same review | — |
| Hard (difficult)A tougher grade to adjust future scheduling | — |
| Good (okay)Standard grade indicating decent recall | — |
| Easy (easy)Best choice when recall was strong | — |
Questions & Answers
What are the best default shortcuts for Anki?
There isn’t a universal official list; the most effective approach is a small, consistent set you can remember across decks. Prioritize core actions you use during reviews and ensure they don’t conflict with your OS.
There isn’t a single official default; start with a small, consistent set that you can remember across decks and build from there.
Can I use the same shortcuts across profiles or devices?
Yes, you can maintain a single source of truth for shortcuts and load the same config on each device. Keeping a centralized shortcuts.json helps ensure consistency when switching between devices.
Yes, you can use the same shortcuts on all devices by keeping a single configuration file and loading it wherever you study.
How do I reset shortcuts to Anki’s built-in defaults?
If you need to reset, revert to the original configuration file or use a reset option provided by your add-on or the app, then reapply a small, tested set of shortcuts.
To reset, restore the original config and reapply a small, tested set of shortcuts.
Are shortcuts accessible for users with disabilities?
Customize shortcuts to use larger keys or keyboard chords that feel comfortable. Pair shortcuts with OS accessibility features to improve usability.
Yes, you can tailor shortcuts to be more accessible and combine them with your system’s accessibility features.
Is there an official Anki shortcut guide?
Anki does not publish a single official cheat sheet; rely on your own configuration and community-based add-ons for platform-specific guidance.
There isn’t one official cheat sheet; use your own setup and community resources.
How can I avoid clashes with OS shortcuts?
Choose keys that are less likely to be reserved by the OS, test on both Windows and macOS, and provide a platform-specific fallback in your config.
Avoid OS conflicts by picking uncommon keys and testing across platforms.
Main Points
- Standardize 4–6 core shortcuts for consistency
- Back up configs before editing
- Test changes incrementally to avoid downtime
- Document your mapping for cross-device use
- Avoid OS conflicts by choosing ergonomic keys