Anki add-on: GODMODE: faster shortcuts and cloze switching

This add-on has three features to make using Cloze more efficient: 1. It automatically switches to a Cloze note based on note content. It then switches back to the Basic note type. No button clicks needed. 2. It introduces easier one-handed shortcuts for Cloze. On Windows, these are Control+E and Control+S , for sequential (C1, C2, C3) and repetitive (C1, C2, C2) Cloze deletions respectively. On Mac, use Command instead of Control. E and S were chosen for their ease of use, and they can be thought of as standing for "extra" and "same" Cloze deletions. These shortcuts can be customized : On Anki 2.1, go to Tools>Add-ons>Godmode Cloze>Config. You can also use this add-on to set custom shortcuts for other functions. By default, "jkl;" and "1234" can both be used for review button shortcuts. If on Mac, you can also make some custom shortcuts with this guide. 3. When using the above shortcuts, no extraneous notifications ("tooltips") are shown when making cards. With previous add-ons, if you start to write a Cloze card when the note type is set to Basic, you would get a warning notification, but this add-on makes that unnecessary. However, if you use the default Cloze shortcuts (e.g., Control+Shift+C), you'll still get that notification. COMPATIBILITY This add-on was tested and working on Anki 2.1 for Mac High Sierra. By default, this add-on works with note types named "Basic" and "Cloze." If you have a custom-named note types, you can rename them to Basic and Cloze by going to Tools>Manage Note Types>Rename. By its nature, the add-on Frozen Fields might interfere with switching between note types. You can still use both add-ons together, but unfreeze your Cloze fields before attempting to have this add-on automatically switch between note types. Otherwise when switching note types, Frozen Fields will override the fields. This add-on sometimes interferes with the functionality of others. Two known examples are "Searching, PDF Reading & Note-Taking in Add Dialog" and "Color Confirmation." ======================================================================== CHANGE LOG 2018-10-31: Add-on created. 2019-04-18: Ported to Anki 2.1. 2019-07-18: Fixed a bug in the 2.1 version where rating cards with 1234 was set by default to work like the space bar. 2019-08-17: Fixed a bug in the 2.1 version where Ctrl+E wouldn't make a new Cloze if the Browser window was open. 2019-10-01: Added a line of code in the 2.1 version for compatibility with the Color Confirmation add-on. Solution by MacMarc. 2019-10-02: Over 1000 downloads! Whoo-hoo! 2020-01-29: Fixed a bug that some users were getting when trying to add a card. 2020-06-09: Updated to work with versions above Anki 2.21. Github repository: https://github.com/Joseph-Y/godmode CREDIT Full credit for the automatic note-type switching goes to Hyun Woo Park, Roland Sieker, and Steve AW for their contributions to the add-on called "Automatic switch from Basic to Cloze." This add-on only very slightly modifies their open-source code for that feature. Full credit for the custom shortcuts feature in the Anki 2.1 add-on goes to Liresol, author of the add-on "Customize Keyboard Shortcuts." His code was used with permission. The reason why I incorporated his add-on into mine was to solve the problem of them interfering, given I use both. Credit also goes to Dmitry Mikheev for his add-on called "space bar cloze," which I consulted for making this add-on for Anki 2.0 The leftover credit goes to Joseph Yasmeh, the author of the remaining code. MY OTHER ADD-ONS Anti-Suck Smart Spacebar Distinct Cards Studied Today Fuller Screen and Fullest Screen

GitHub repository: joseph-y/godmode
Repository description: Godmode add-on for Anki  (https://ankiweb.net/shared/info/1508677152)
Languages: Python