Giter Site home page Giter Site logo

Comments (2)

PaddyPatPat avatar PaddyPatPat commented on September 21, 2024 1

Oh gosh. Yes, sure I now use straight.el. It looks very clever. Thanks for the nudge.

anki-editor-delete-note-at-point works wonderfully thank you! Using it while passing C-u is great so that I know that the source of truth remains Emacs. I'm happy to delete notes individually at the moment. They are mostly clozes with a dozen gaps/"multiple fields" which I have found to be very ineffective for learning. Easy to make. Wrong to study.

I have installed the transient editor (straight.el really is nice) and it seems to work well! I will keep playing with it. It seems like such an obvious thing to have now that I see it.

I'm yet to get my head around org-cc. I think that perhaps it is a different way to think about what I was imagining more as an org-show-todo-tree-style sparse tree, but for Anki notes. I guess one difference would be that org-cc can look across multiple files rather than just showing the current one.

Thank you so much!

from anki-editor.

orgtre avatar orgtre commented on September 21, 2024

Hi, what you describe is the only way to do it with this version of anki-editor. Note that there is a toggle next to the search field in the Anki browser which allows you to toggle on browsing by notes (instead of cards); with this it might be a bit easier.

However, in my fork of anki-editor, github.com/orgtre/anki-editor, I've added a anki-editor-delete-note-at-point command. By default it just deletes the note at point from Anki (only removing the ANKI_NOTE_ID in Org), but with a C-u prefix it also deletes the note in the Emacs Org-mode file. If there is demand it would be quite easy to extend this function to sets of notes too.

To make the process of managing notes from Org mode a bit easier, I've also created a transient interface which includes the delete note command. It would be great if more people tried it out!

Finally, to find the note you want to delete, you can of course use any of the Emacs search commands that you'd otherwise use to find stuff. However, if you want a custom search just for Anki notes, you could use my Org custom completions package, github.com/orgtre/org-cc. In that repos example section I explain how one can set it up to work with anki-editor notes. Please let me know if you encounter any problems!

from anki-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.