GODMODE: faster shortcuts and cloze switching
0.01MB. Updated 2020-06-10.
The author has shared 9 other
item(s).
Description
Download
As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.
Supported Anki versions:
- 2.1.0-2.1.21 (Updated 2020-01-30)
- 2.1.22-2.1.40 (Updated 2020-06-10)
To download this add-on, please copy and paste the following code into Anki 2.1:
1508677152
If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.
All Anki 2.1.x Add-Ons Contact Author
Reviews

Plz Update this addon for new anki version
Plz man Plz 🙏🙏🙏🙏
Plz man Plz 🙏🙏🙏🙏

Thumbs down for Godmode. But thumbs up and thank you to the person below who left instructions for the keyboard shortcut add on. It completely duplicates godmode functionality. Thank you!!
Now, can you please tell me how to get the cloze remover working :)
Now, can you please tell me how to get the cloze remover working :)

!!! CLOZE SOLUTION FOR NEWER ANKI VERSIONS: !!!!
For people wanting the same cloze shortcuts with newer versions, download this add on: https://ankiweb.net/shared/info/24411424 (code: 24411424)
Tools ➞ Add-ons ➞ Customize Keyboard Shortcuts ➞ Config
Locate "editor cloze:" and change your settings to match the following below:
"editor cloze": "<nop>",
"editor cloze alt": "Ctrl+Shift+E",
"editor cloze forced increment": "Ctrl+E",
"editor cloze no increment": "Ctrl+S",
scroll down a little & locate "m_toolbox export": -- change it to match this below:
"m_toolbox export": "<nop>",
For people wanting the same cloze shortcuts with newer versions, download this add on: https://ankiweb.net/shared/info/24411424 (code: 24411424)
Tools ➞ Add-ons ➞ Customize Keyboard Shortcuts ➞ Config
Locate "editor cloze:" and change your settings to match the following below:
"editor cloze": "<nop>",
"editor cloze alt": "Ctrl+Shift+E",
"editor cloze forced increment": "Ctrl+E",
"editor cloze no increment": "Ctrl+S",
scroll down a little & locate "m_toolbox export": -- change it to match this below:
"m_toolbox export": "<nop>",

Very helpful shortcuts, I've had it for a long time now and sincerely appreciate the hard work that went into this.
I hope it'll be upgraded to be compatible with Anki 2.1.41 and above so I can finally upgrade!
I hope it'll be upgraded to be compatible with Anki 2.1.41 and above so I can finally upgrade!

牛逼,真正实用

absolute game-changer! it's been sooo annoying to retype every cloze to number 1 and this saved me

This seems like a really useful addon, something that Anki should have by default, it’s PIA to do clozes otherwise.
Please UPDATE this addon so I can finally use it! Thanks
Please UPDATE this addon so I can finally use it! Thanks

please update this for the newest version! its such a simple but must have add on.

Does this still work with Color Confirmation? When I installed it, Color Confirmation stopped working. Happy to change it to a thumbs up if it does. Thanks!

Such a great and useful add-on. Doesn't work on latest version of Anki, would be awesome if you could update it!

didn't work

It is not working for newer versions of Anki.
I love this add on. Can you please update it?
I love this add on. Can you please update it?

Works great in Anki versions 2.1.44 and below. Unfortunately they changed the editor UI in 2.1.45 such that you can't insert a cloze deletion when the basic note type is selected (ctrl+shift+c doesn't work either). Hopefully they change this soon or an addon comes along that acts as a work around

Great. Saves A lot of time!

It works perfectly!

Spent annoyingly an hour figuring out which add on was blocking new cards add and it was this addon. Using Anki version 2.1.40.
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.40 (cf446733) Python 3.9.4 Qt 5.15.2 PyQt 5.15.4
Platform: Linux
Flags: frz=False ao=True sv=1
Add-ons, last update check: 2021-05-16 10:42:36
Caught exception:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/decorator.py", line 231, in fun
args, kw = fix(args, kw, sig)
File "/usr/lib/python3.9/site-packages/decorator.py", line 203, in fix
ba = sig.bind(*args, **kwargs)
File "/usr/lib/python3.9/inspect.py", line 3062, in bind
return self._bind(args, kwargs)
File "/usr/lib/python3.9/inspect.py", line 2983, in _bind
raise TypeError('too many positional arguments') from None
TypeError: too many positional arguments
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.40 (cf446733) Python 3.9.4 Qt 5.15.2 PyQt 5.15.4
Platform: Linux
Flags: frz=False ao=True sv=1
Add-ons, last update check: 2021-05-16 10:42:36
Caught exception:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/decorator.py", line 231, in fun
args, kw = fix(args, kw, sig)
File "/usr/lib/python3.9/site-packages/decorator.py", line 203, in fix
ba = sig.bind(*args, **kwargs)
File "/usr/lib/python3.9/inspect.py", line 3062, in bind
return self._bind(args, kwargs)
File "/usr/lib/python3.9/inspect.py", line 2983, in _bind
raise TypeError('too many positional arguments') from None
TypeError: too many positional arguments

Really useful! But isn't there a default option for this? Ctrl + Shift + C and Ctrl + Shift + Alt + C

used to use this and loved it only laptop but just got a new desktop and tried to download and won't even load on there. this sucks- was super convenient
Comment from author
Downgrade your Anki version on the new computer and it will work.

Very good!!!
For people who do not work the Ctrl + S: Disable the addon "Symbols" and the addon "Customize Keyboard Shortcuts" !!! And the keyboard shortcut will work :)
For people who do not work the Ctrl + S: Disable the addon "Symbols" and the addon "Customize Keyboard Shortcuts" !!! And the keyboard shortcut will work :)

I absolutely love this add-on but after updating anki to the latest version it stopped working
I really hope you can update it
I really hope you can update it

"Have a question or want to report a problem with an add-on? If so, please go back and click on "Contact Author" instead."
Can't see how to do that.
Looks really useful but can't use. Clicking Browse on my deck causes Error/Stop. Posted at github.
Ok, 2.1.41 didn't work but quick fix to downgrade to 2.1.25, and yeap! It's a keeper. Thanks Joseph!
Can't see how to do that.
Looks really useful but can't use. Clicking Browse on my deck causes Error/Stop. Posted at github.
Ok, 2.1.41 didn't work but quick fix to downgrade to 2.1.25, and yeap! It's a keeper. Thanks Joseph!
Comment from author before post was edited
Thanks for reporting this issue on Github. Seems to be due to changes with the newest Anki version (2.1.41). I've restricted downloads to newer versions until I can look into this, but it's not a priority for me because I use an older Anki version. To anyone reading this, I'd appreciate any contributions toward a solution on Github.

Of course my favorite add-on was going to have issues with 2.41... Unfortunately, whenever I click on browse there is an error.

I'm not sure why but ctrl+S doesn't do the sequence cloze for me, ctrl+E works though. Please help! Is it maybe because I'm on a windows?

Saves so much time and it actually works, unlike the default shortcut

Amazing!

Works on Mac Catalina 10.15.7. Fantastic idea, I will have to get used to clicking cmd E instead of cmd shift C of course, but definitely worth it! It's like a shortcut that allows you to switch between card modes with a button press. Love it.

Great idea, but why cant I see GODMODE in the type of cards so I can actually use the Ad-on?

works amazingly, saves lots of time

Does not work.
Comment from author
Your mother was a hamster, and your father smelt of elderberries.

really helpful!

Works exactly as described. Thanks for making this!

I really needed this!

This add-on works much better than "Customize Keyboard Shortcuts", which I found a little dysfunctional, since their "editor cloze alt" works as if it's also "editor cloze". The only downside for this add-on is that it disables "Color Confirmation", another add-on I love.
One question: How do I set a keyboard hotkey using the "Control" (⌃) button on the Mac? Since "Ctrl" = "Command" (⌘) key on a Mac.
One question: How do I set a keyboard hotkey using the "Control" (⌃) button on the Mac? Since "Ctrl" = "Command" (⌘) key on a Mac.
Comment from author
I don't think the Mac Control key can be used for hotkeys in this add-on.

this addon saved me so much time editing cloze numbers and pressing that extra shift key to get the cloze option. wonderful work!

Thanks!

Please consider adding a field that allows us to change the name of the cards that the add-on looks for. I have a basic card type and a cloze note type but they are not named "Basic" and "Cloze". I know I could rename them, but I deliberately renamed them something else.
Thank you.
I wish I could give a thumbs neutral.
Thank you.
I wish I could give a thumbs neutral.
Comment from author
The code file has instructions for easily changing the card names the add-on looks for.

New to Anki. My first addon! It worked! I am in love with cloze and this is going to make my life so much easier in Pharmacy school.
Thank you to you and the community. I appreciate your work in creation and updates.
Thank you to you and the community. I appreciate your work in creation and updates.
Comment from author
You're welcome. Good luck!

Needs to be compatible with new Mac OS (MacOS catalina)
Comment from author
It is.

Very nice Addon! But when with "Answer Confirmation 21" addon, the answer confirmation doesn't work

Great Job

I was thinking about creating cards as Basic, and then bulk changing note type in the browser. This is better.
But could you please extend this to cloze overlapper notes?
But could you please extend this to cloze overlapper notes?

It works! thanks!

edit: on anki 2.1.23 at least, the "color confirmation" addon does not work if godmode is enabled.
Thank you, such efficient
I wanted this to work with the "Cloze (Hide all)" addon, which uses its own note type, so I edited custom_shortcuts.py and replaced all "Cloze" strings with "Cloze (Hide all)". Seems to have worked. I hope nothing broke. It would be nice to be able to just change this in the config.
Thank you, such efficient
I wanted this to work with the "Cloze (Hide all)" addon, which uses its own note type, so I edited custom_shortcuts.py and replaced all "Cloze" strings with "Cloze (Hide all)". Seems to have worked. I hope nothing broke. It would be nice to be able to just change this in the config.
Comment from author
Thank you for reporting that the update doesn't work with Color Confirmation. There was a workaround in the older version and it looks like it broke.

Updated and working fine on Anki 2.1.23 on Catalina

Updated! thumb up

great add on but not working after anki updates. could you update it and create a open source repo so that other people can maintain it as well?
Comment from author
Done and done. Link in description.

I'd love to contribute into updating this add-on since I use it almost daily. Please let me help if you don't have the time to do it yourself. I can't find a repo though to the source.
Will ou share it? It's only fair, since most of it is code of other people's projects. Let the community contribute
Will ou share it? It's only fair, since most of it is code of other people's projects. Let the community contribute
Comment from author
Great idea. I added a link to the Github repo in description.

Pleeeease update! For 2.1.22

it is a very useful & time-saver
Edit; please update for the Anki 2.1.22
Edit; please update for the Anki 2.1.22

tive que reinstalar o Anki, pois o mesmo travou na janela de adição de cartões.

Nice add-on ! If looking for an add-on that handles the cloze switching, copy and paste the code from this one to the "customize keyboard shorcuts" add-on on recent version of anki

EDIT: please update to 2.1.22!
Neat! I really like that you can personalize so many shortcuts. I have been searching for a way to do so for a while!
I am experiencing a little problem, though: if I set the shortcut for "edit cloze" to anything that begins with "Ctrl+Shift" the shortcut will not work as expected and will instead add a repetitive cloze
Neat! I really like that you can personalize so many shortcuts. I have been searching for a way to do so for a while!
I am experiencing a little problem, though: if I set the shortcut for "edit cloze" to anything that begins with "Ctrl+Shift" the shortcut will not work as expected and will instead add a repetitive cloze

Addon stopped working. Please update for Anki Version 2.1.22. Thanks

Not working currently in Anki Versión 2.1.22 (0ecc189a) under Windows 10 ↓
Mientras cargando 'GODMODE faster shortcuts and Cloze switching':
Traceback (most recent call last):
File "aqt\addons.py", line 208, in loadAddons
File "C:\Users\*user*\AppData\Roaming\Anki2\addons21\disable_1508677152\__init__.py", line 1, in <module>
from . import custom_shortcuts
File "C:\Users\*user*\AppData\Roaming\Anki2\addons21\disable_1508677152\custom_shortcuts.py", line 468, in <module>
mw.toolbar.draw()
File "aqt\toolbar.py", line 48, in draw
File "C:\Users\*user*\AppData\Roaming\Anki2\addons21\disable_1508677152\custom_shortcuts.py", line 447, in cs_toolbarCenterLinks
return self._linkHTML(links)
AttributeError: 'Toolbar' object has no attribute '_linkHTML'
This should be easily fixable but I can't code at all. Thanks for your work anyway, I'm aware you'r busy till June. Take care till then!
Mientras cargando 'GODMODE faster shortcuts and Cloze switching':
Traceback (most recent call last):
File "aqt\addons.py", line 208, in loadAddons
File "C:\Users\*user*\AppData\Roaming\Anki2\addons21\disable_1508677152\__init__.py", line 1, in <module>
from . import custom_shortcuts
File "C:\Users\*user*\AppData\Roaming\Anki2\addons21\disable_1508677152\custom_shortcuts.py", line 468, in <module>
mw.toolbar.draw()
File "aqt\toolbar.py", line 48, in draw
File "C:\Users\*user*\AppData\Roaming\Anki2\addons21\disable_1508677152\custom_shortcuts.py", line 447, in cs_toolbarCenterLinks
return self._linkHTML(links)
AttributeError: 'Toolbar' object has no attribute '_linkHTML'
This should be easily fixable but I can't code at all. Thanks for your work anyway, I'm aware you'r busy till June. Take care till then!

Addon makes anki profile inaccessible and causes program to crash. Only way to fix was with a reinstall.
Backup your decks before trying this addon.
https://i.imgur.com/jsZy8Hn.png
Backup your decks before trying this addon.
https://i.imgur.com/jsZy8Hn.png
Comment from author
Very surprising. If this happens to anyone in the future, press the shift key when opening Anki. This disables any addons from loading and will let you delete the causative addon, so you shouldn’t need to reinstall.
Thank you for reporting this and its error message. I’m further restricting downloads for newer versions of Anki until I can look into this.
Thank you for reporting this and its error message. I’m further restricting downloads for newer versions of Anki until I can look into this.

Wonderful addon, but it does not work for me anymore since 2.1.23 update! Anyone else does have this problem?
Comment from author
Thank you for reporting this! I plan to look into a fix in June, after I take a big exam I'm currently studying for.
https://anki.tenderapp.com/discussions/add-ons/42901-godmode-faster-shortcuts-and-cloze-switching-bug-report
https://anki.tenderapp.com/discussions/add-ons/42901-godmode-faster-shortcuts-and-cloze-switching-bug-report

Works great, but I'm missing the ctrl + enter that finalizes the card. Can you assist?
UPDATE: Fixed!! Wonderfully useful, and saves a lotttt of time. Thank you so much for your help and development of this!
UPDATE: Fixed!! Wonderfully useful, and saves a lotttt of time. Thank you so much for your help and development of this!
Comment from author before post was edited
For anyone wondering, I'm currently working on a fix for this, as being discussed here:
https://anki.tenderapp.com/discussions/add-ons/35475-bug-godmode-faster-shortcuts-and-cloze-switching-interfering-with-scheduler-in-21
Update: This problem should now be fixed.
https://anki.tenderapp.com/discussions/add-ons/35475-bug-godmode-faster-shortcuts-and-cloze-switching-interfering-with-scheduler-in-21
Update: This problem should now be fixed.

good shit

Works as intended for me, a great productivity boost!

Just what I needed, I deleted add-on "Customize Keyboard Shortcuts." because this one includes it(superset).

I used this fine for 2.0, but it's not working for 2.1.
I think you should create a separate version for 2.1.
I think you should create a separate version for 2.1.
Comment from author
There is a separate version for 2.1, and it's working for me.

HANDS DOWN THE ABSOLUTE BEST ADD ON IN ALL OF ANKI.

Works great!

Are there any plans to make an update to have this addon work with frozen fields? Big fan of the addon nonetheless and would love to use it with frozen fields.
Comment from author
Yeah, that bothers me too. The problem has to do with how Frozen Fields works (it unfreezes the top field when you switch from Basic to Cloze), so I don't see a solution by updating my add-on. When I have some time, I'll play with the code from Frozen Fields and see if I can propose a solution to Glutanimate so he can update Frozen Fields.
EDIT: Good news. Went to fix this today, but first I updated Frozen Fields and this problem doesn't exist anymore.
EDIT: Good news. Went to fix this today, but first I updated Frozen Fields and this problem doesn't exist anymore.

Im a fan man!

Control-E doesn't work if you have the browse window open. Control-E is also the shortcut for adding a new card (Notes --> Add Notes...) so it looks like the native shortcut overwrites the add-on. Maybe a different shortcut would be better. Otherwise, everything seems to work great.
Edit: Changed Ctrl+S to Ctrl+Shift+C and changed Ctrl+E to Ctrl+S and it fixed the problem. Also, its a lot easier to remember because I think of S for "successive"
Edit: Changed Ctrl+S to Ctrl+Shift+C and changed Ctrl+E to Ctrl+S and it fixed the problem. Also, its a lot easier to remember because I think of S for "successive"
Comment from author
Thanks for reporting this bug. I've confirmed it was specific to the 2.1 version only.
The problem was because the add-on breaks when two shortcuts are the same. I uploaded a fix, changing the "add new card from browser" shortcut to Ctrl+R. I like keeping the Cloze shortcuts as they are because two-button shortcuts are easier.
The problem was because the add-on breaks when two shortcuts are the same. I uploaded a fix, changing the "add new card from browser" shortcut to Ctrl+R. I like keeping the Cloze shortcuts as they are because two-button shortcuts are easier.

godmode

Might interfere with the scheduler as noted here: https://old.reddit.com/r/Anki/comments/ca9pv4/something_is_off_about_steps_in_anki_21_what_is_it/
Seems to be skipping the first step on my system: Windows 10 while using keys 1 2 3 4 for scheduling.
Seems to be skipping the first step on my system: Windows 10 while using keys 1 2 3 4 for scheduling.
Comment from author
Thanks for following up with my question on Reddit! I found the problem and uploaded a fix.
It wasn't interfering with the scheduler per se--rather, the keyboard shortcuts for 1234 were setup to work like the spacebar by default. I didn't notice this because I had changed the settings on mine. This was a problem with the 2.1 version, but it should work as expected now.
It wasn't interfering with the scheduler per se--rather, the keyboard shortcuts for 1234 were setup to work like the spacebar by default. I didn't notice this because I had changed the settings on mine. This was a problem with the 2.1 version, but it should work as expected now.

I loved this add-on for the 2.0 version. Unfortunately, this version reset a bunch of the pre-programmed anki shortcuts. More specifically, I could no longer use the hotkeys for the "easy = 3, good = 2, hard = 1" features. It also changed the hotkey for undoing an action.
Comment from author
I might be wrong, but I think Anki 2.1 changed many of those shortcuts, not this add-on. Otherwise, if anyone has specific examples, mention it in a review and I could upload a fix.
And anyways, you can use the settings to change the shortcuts to whatever you want. Using 1234 with jkl; for answering cards is working for me.
And anyways, you can use the settings to change the shortcuts to whatever you want. Using 1234 with jkl; for answering cards is working for me.

Muito bom, prático demais.

CTRL+E works fine, but CTRL+S (aka add repetitive cloze) does not. I downloaded mainly because of the awkward default ctrl+shift+alt+C for this function. I swapped the E and S, restarted, and the repetitive is now working on E, but subsequent cloze is thus not functioning.
Comment from author
Odd. Haven't been able to replicate that on either Windows or Mac. Works for me.

Hmm...I like it but I can't seem to configure the add on.. I'll update when it's working again

Perfect for new update. Thanks!

This is very convenient when making lots of cloze cards!
Much better than default hotkye(ctrl+shift+C) which can't make repetitious {{c1::}}
Thanks!
Much better than default hotkye(ctrl+shift+C) which can't make repetitious {{c1::}}
Thanks!

Great add-on!
Works fine on my PC, but loss function on Mac. I have tried reinstall or customize hotkey binding. Weird
Works fine on my PC, but loss function on Mac. I have tried reinstall or customize hotkey binding. Weird

This is clutch AF. Thank you, sir/ma'am!

I like this, don't understand how it switches automatically tho, would prefer it to switch to cloze when I use the shortcut CTRL + E / S and back to optional reversed automatically once I try to create the next card