Anki add-on: Quick note and deck buttons (Fork for 2.1)

If you mainly care about shortcuts to change note types you might not need this add-on anymore: Since Anki 2.1.28 from 2020 you can use : "Ctrl/cmd+number selects decks/note types in list". To select the third note type you would use Ctrl+N to open the note type selection window, then Ctrl+3 to focus the third note type, then Enter This add-on will most likely stop working in the second half of 2022 when the anki component that this add-on changes will be completely rewritten so that this add-on would need a full rewrite, too. You must adjust the config of this add-on to your needs. Otherwise your new notes might have tags like "adjust_the_config_of_the_addon_Quick_note_and_deck_buttons" or "really_adjust_the_config_of_the_addon_Quick_note_and_deck_buttons". Use it at your own risk. # Bugs, Feedback, Comments If you find a bug one or have a bug fix or improvement you can tell me in the official support forum - just click the "contact author" button in the upper right of this page. In 2021 and later Anki is changing a lot with each new version so every Anki update might break this add-on. I'm not always using the latest version of Anki so when this add-on stops working at some point in the future it might take a long time until I fix it. # History This is an extended port to 2.1 of the popular addon Quick note and deck buttons . The configuration/user options for this version are slightly changed because the original authors (ospalh, glutanimate) added support for multiple rows in 2017. This updated version was never published to Ankiweb - just to github. I adjusted this latest version. Since 2020-04 you can also change the deck and note type at the same time which requires a slightly modified configuration, see config.md for details. # MacOS I don't like how it looks on MacOS . For details see this reddit thread . If you have a solution for this or find another bug let me on know. # Alternatives Since 2.1.28 Anki has this feature: "Ctrl/cmd+number selects decks/note types in list." Quick note and deck change menus . # Configuration You configure this add-on from the Add-on Manager. # Versions - 2022-05-23 fix for .50+: compatibility to latest Image Occlusion add-on version - 2022-04-12 fix for .50+ only: don't show labels in separate row on top. - 2022-02-13 fix for .45-49 only: don't show labels in separate row on top. - 2021-12-12 fix for older anki versions (<2.1.20), limitation: note type chooser doesn't work well in 2.1.24 (and hasn't worked well with older versions either), one add-on version for all anki versions. - 2021-12-08 fix for anki 2.1.45+ - 2021-03-03 fix for anki 2.1.41 - 2020-12-17 fix for anki 2.1.36+ (github issue #8) - 2020-07-13 fix for anki 2.1.28 - 2020-05-17 fix for KeepModels from 2020-05-17 - 2020-05-15 option to enable/disable in selected profiles. - 2020-05-14 option to adjust width (ratio between) note type and deck area; added config.schema.json - 2020-05-13 fix for shortcuts without buttons, improve config.md - 2020-05-05 compatibility with Keep model of add cards from 2020-05. - 2020-04-19 when quickly changing don't lose editor contents, when you change a deck (or notetype) you can change the note type (or deck) and tags at the same time, the add-on is no longer loaded to the "Change Note Type" dialog that you can open from the browser which caused problems - 2020-02-22 better compatibility with Anki 2.1.20 - 2019-10-15 compatible to Keep model of add cards , misc changes (tooltip, focus), ... - 2018-11-10 initial release # Credits The original authors are Steve AW, ospalh, Glutanimate. ospalh has written "no update planned" (in 2020-04-18).