TRIAEIOU / markdown-input

Anki addon to allow note editing in markdown, either in the Anki windows or external dialog.
MIT License
18 stars 2 forks source link

Edit all fields in the external window + VIM Mode CodeMirror #2

Open navakelvin opened 1 year ago

navakelvin commented 1 year ago

TL;DR:

Request 1

Is it possible that you can implement editing of all fields in the external window?

The idea is that each field is represented by a header, and the text under the header is the content of the field.

This will allow you to edit the letter in its entirety in a very pleasant way.

Example: image

Request 2

On the other hand, I see that you use CodeMirror as editor. Is it possible that you can implement VIM mode?

TRIAEIOU commented 1 year ago

Thanks for the suggestions:

Unfortunately I am a bit short on time, maybe at a later date or if you want to make a PR?

TRIAEIOU commented 1 year ago

For info, you could try to use the curren main, I am testing some new changes, including the option to open the entire note in the external editor. Let me know if it works the way you expect.

navakelvin commented 6 months ago

A while has passed.

Yes, with VIM i mean implementing the VIM mode in the codemirror editor, which can be implemented with the library you mention.

Since it's not useful for everyone, you could put a boolean in the settings to enable it or not.

Thanks for your effort btw, I saw that you implemented the editing of all the fields at the same time. That is fantastic.

navakelvin commented 6 months ago

If you want some inspiration or code reuse to implement VIM Mode to the editor you could look at: https://ankiweb.net/shared/info/1043915942 https://github.com/ijgnd/anki__editor_edit_html_extended