when i press shift cmd c to create a cloze deletion as i used to do in previous version it automatically creates two cloze like this,
is there a solution for that
Perhaps you double-tapping the c? If I press cmd+shift and then press and release c, it doesnât add a cloze until I release the key.
i only tap it once and it always creates two clozes, iâm on anki for mac
Can you provide more details? Iâm on macOS 12.3.1, Anki 2.1.53 Qt6 (M1) and I do not notice the behaviour youâre describing, i.e. â§âC only inserts a single cloze as expected.
However, I can simulate it by creating a cloze using â§âC then highlighting the cloze that I just made and re-clozing it with â§âC, if I havenât release the â§â combination before re-tapping the C. Itâs not hard to make that mistake if my thumb is resting too heavily on the trackpad.
iâm on the same version of anki on M1, and iâm on tapping on c once like i used to do on older version of anki
What language is your keyboard input set to?
canadien french
I tried with that keyboard layout, and still only get one cloze. Itâs a mystery.
The problem is with the keyboard shortcut. As you can see in the above image showing tooltip, the shortcutâs function is to add a new card also - (new card) Cmd+Shift+C
Iâm using Mac OS 10.13.6
Anki Version â¨2.1.54 (b6a7760c)âŠ
PyQt 5.14.1
More details
When enclosing a text for Cloze using the keyboard shortcut, another card is added next to the cloze also, as shown here. This happens without double-tapping the c. I thought this is a new feature initially though apparently it is not.
Screenshot from Anki version Version â¨2.1.49 (dc80804a)⊠PyQt 5.14.2
The tooltip of the older version does not include new card
(post deleted by author)
I found the solution, I was having the same problem, using the same version of anki as you. I went through disabling my add-ons looking for a culprit & I found it.
Try disabling this add-on:
24411424
This problem is solved in the latest beta version though. Iâm glad it is solved.
Anki 2.1.55 Beta
ashyaura
I have discovered something that I would like to leave it here. It may become useful if someone comes across this in future
You are right - the culprit is the add-on âCustomize Keyboard Shortcutsâ. But there is a solution in the same add-on.
Alternate keyboard shortcut âCtrl+0â (Ctrl+Zero) is given by default to create Cloze cards.
This shortcut does not create duplicate clozes in Anki Version â¨2.1.54 (b6a7760c)⊠PyQt 5.14.1.
So one need not disable the add-on. Also 2-key combination of the shortcut makes it easier (personal opinion) to work with.
Same problem with 2.54 qt5 on macos, itâs seems that âCustomize Keyboard Shortcutsâ give the second input when you use the âadd cloze shorcutâ. Iâve deleted the shortcut in the adddonâs settings, adding between ââ and seems it works.