debanjandhar12 / logseq-anki-sync

An logseq to anki syncing plugin with superpowers - image occlusion, card direction, incremental cards, and a lot more.
GNU Affero General Public License v3.0
466 stars 34 forks source link

add JKL shortcuts #258

Closed mearyne closed 8 months ago

mearyne commented 8 months ago

Add shortcut to more easier controlling anki.

J: Navigate to the cloze item. K: Move to the Logseq. L: Scroll to the top of the page.

debanjandhar12 commented 8 months ago

Thanks for the contribution. Sorry, but could you modify the shortcut keys to be a combination of keys like Shift+J, Shift+K, etc.?

I'm concerned that the current shortcuts could be triggered too easily.

mearyne commented 8 months ago

I modified JKL to shift + JKL. I don't know why it doesn't work in android anki.

debanjandhar12 commented 8 months ago

I modified JKL to shift + JKL.

Thanks. I will merge this so that it can be included with tomorrow's release.

I don't know why it doesn't work in android anki.

It is probably an issue with ankidroid. Enabling "Type answer into the card" in ankidroid setting might help. If necessary, feel free to create a new pull request to address this at a later time.