Customize Keyboard Shortcuts

AnkiWeb addon 24411424

1 other version of this addon exists. Compare versions ↓

Customizes keyboard shortcuts on the main, editor, reviewer, and deck browser windows via the add-ons Config screen, supporting key sequences and duplicate shortcuts.
AI-generated summary; may contain mistakes.

shortcuts

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
265 (πŸ‘ 212 Β· πŸ‘Ž 53)
Updated
2023-11-01
Anki versions
23.10~
License
MIT (from the GitHub repository)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

abandoned

  • Last update or commit: 2023-11-01 (1096 days before the snapshot).
  • GitHub Actions workflows: 1.
  • Commits in the last year: 0.
  • Issues: 137 open, 89 closed.
  • Pull requests: 6 open, 22 merged.
  • Median first response: 51 hours (57 answered issues and pull requests).
  • Outside pull requests: 80% of 5 merged.
  • Forks that may still be maintained: "Customize Keyboard Shortcuts-Added settings Control Panel and file path" (1762336370).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.532022-06-29
2.1.542.1.662022-09-14
23.10+2023-11-01
History across monthly snapshots

Loading…

Compare versions

The original addon and its forks. The best value in each column is in bold.

VersionWorks on Anki 26.09.3MaintenanceLast activity VotesApprovalGitHub starsNotes
Customize Keyboard Shortcuts this addon original supported abandoned 1 Nov 2023 πŸ‘ 212 Β· πŸ‘Ž 53 75% 74
↳ Customize Keyboard Shortcuts-Added settings Control Panel and file path (AI-detected; may be wrong) likely active 14 Aug 2026 πŸ‘ 7 Β· πŸ‘Ž 1 53% –

Forks can add features or work in a different way. Read the description before you change to another version. Fork detection is incomplete, so other versions can exist.

Similar addons

Browser external editor has 1 fork β†’

Opens browser notes in separate external editor windows via context menu or configurable Ctrl+Alt+E shortcut, using a minimal wrapper around Anki's Edit current note dialog with autosync disabled.

note-managementshortcuts

7 votes 65% approval πŸ‘ 7 Β· πŸ‘Ž 0 Anki 2.1.66~ Updated 2022-05-18
Duolingo Dictionary

Provides a searchable Duolingo dictionary interface in the editor and card browser, letting users find translations and paste usage examples, though example sentences currently cannot be fetched.

card-creationdictionaryobsoletebeta

2 votes 9% approval πŸ‘ 1 Β· πŸ‘Ž 1 ⭐ 3 Anki 2.1.49~ Updated 2022-05-10
Customize Editor Stylesheet

Lets users customize the Editor widget’s stylesheet via an _editor.css file in their media collection, with a toggle and hotkey.

shortcutsappearance

12 votes 55% approval πŸ‘ 10 Β· πŸ‘Ž 2 ⭐ 183 Updated 2018-09-04

Description

Allows the changing of shortcuts on the main page, the editor window, the review window, and the deck browser window

Usage The way to change shortcuts here is to go to Tools > Add-ons > Custom Shortcuts and click Config to change each shortcut. The text above the change screen should say what each function does. This is also available on the GitHub page.

Key sequences are allowed by adding a "+" between individual keys, e.g. mapping Ctrl-H with "Ctrl+H".

Support for duplicated shortcuts on the reviewer window is available. Make sure to read the config.md on that carefully (text above the Config) to ensure proper use.

Support If you have any issues with this tool or want support for more shortcuts, please report it on the GitHub issues page, as I cannot respond to messages here.

This should theoretically function with Anki 2.1, though there hasn't been extensive testing with edge cases or compatibility. Known points of interest are shown below:

Anki recently changed a few of its shortcuts, meaning that the most recent version of this is only guaranteed to be compatible with Anki 2.1.6+.

The special shortcut(s) are not originally part of Anki and so might not always function as expected.

Changelog 2023-11-01: Fixed version detection issue for 23.10 (Thanks abdnh!)

2022-09-14: Fixed "editor add card close window" shortcut

2022-06-29: Add shortcut "window_browser forget card" for forgetting a card

2022-05-09: Patch foreground colors and fix note type choosing

2022-04-15: Temporarily disable HTML editor customization for 2.1.50 until permanent fix is found

2022-04-05: Fix preview button for 2.1.50

2022-03-19: Add support for the 3 new flags added in 2.1.45

2022-03-13: Add support for multiple duplicate shortcuts

2022-02-10: Add support for indenting/unindenting fields as well as adding lists (In Anki 2.1.45+ for now)

2022-01-13: Add support for toggling stickiness of fields (In Anki 2.1.45+)

2021-12-05: Change main shortcut implementation to avoid issues with Qt6 (In Anki 2.1.50+)

2021-10-30: Add card info/previous card info shortcuts (2.1.45, 2.1.48) as well as the shortcut to close the add card dialog box (2.1.24)

2021-10-20: Make change note type compatible with 2.1.41+

2021-10-18: Fix browser preview shortcut (for 2.1.45+)

2021-09-27: Add support for sidebar buttons in 2.1.45

2021-07-07: Make HTML editor 2.1.45 compatible

2021-06-03: Patch out issue with 2.1.45 Alpha

2021-02-11/2021-02-13/2021-02-17: Make compatible with 2.1.41 beta2 in preparation for 2.1.41

2021-02-09: Update localization in newer Anki versions

2021-01-27: Make compatible with 2.1.39 beta in preparation for 2.1.39

2020-12-27: Add changing note type in editor and confirming card addition

2020-11-18: Patch issue with certain shortcuts in Anki 2.1.20+

2020-11-17: Refactor reviewer code for better addon compatibility

2020-09-02: Include support for the more options dropdown (for Anki 2.1.33+)

2020-08-19: Update reviewer duplicates with newer features

2020-07-27: Changed editor cloze shortcuts for better addon compatibility

2020-06-26: Added editor shortcut duplication

2020-03-10: Support for many custom pastes

2020-03-09: Support for 2.1.21 release

2020-03-08: Support for Saving/removing current filter, pausing/seeking audio

2020-03-03: Adding filters, 2.1.21 beta compatibility, disabling certain parts for addon compatibility

2020-02-16: Support for new style hooks

2019-11-28: Minor config description update

2019-11-18: Hidden error fixing

2019-10-04: Undid destructive changes hidden in previous updates

2019-07-25: Error fixing

2019-04-17: Backported to Anki 2.1.0rc2

2019-04-16: Changed default shortcuts to accurately reflect those of Anki 2.1.11

2019-04-09: Fixed an issue with custom paste and added a little more disambiguation to the config.md

2019-03-04/05: Fixed issues with Arrow Keys + Page Up/Down

2019-02-10: Change the main page highlight & editor toolbar to reflect changed keys

2018-12-22: Fixed compatibility issues with Anki 2.1.6+

2018-12-13: Fixed issues with cloze alt and (maybe) main shortcuts

2018-11-27: Added support for duplicate main toolbar shortcuts

2018-10-22: Added browser window customization

2018-09-28: Improved special function performance

2018-09-26: Added new special function & cleaned up documentation

2018-09-20: Fixed issues with certain special keys (Return, Enter, Tab, etc.)

2018-09-14: Added Shortcut Conflict Warnings

2018-09-06: Error fixing

2018-09-05: Added main toolbar customization and support for duplicate reviewer shortcuts

2018-09-04: Added reviewer customization

2018-08-30: Error fixing

2018-08-30: Initial Release

README

Custom Shortcuts for Anki 2.1

An Anki add-on that currently supports customization of editor shortcuts and homepage shortcuts.

The add-on's number is: 24411424

The add-ons page is here.

So far, the app has undergone slight amounts of testing, but if you encounter a bug or problem, feel free to bring up a new issue here.

Usage

The way to change shortcuts here is to go to Tools > Add-ons > Custom Shortcuts and click Config to change each shortcut.

Future Features

  • Modify the toolbar to reflect custom shortcuts
  • Include more shortcuts

License

This add-on is licensed under the MIT License.