MarkEdit-app / MarkEdit

Just like TextEdit on Mac but dedicated to Markdown.
https://markedit.app
MIT License
1.06k stars 45 forks source link

[Feature Request] Support VIM key-bindings #177

Open hronro opened 1 year ago

hronro commented 1 year ago

I appreciate the clean and focused interface of MarkEdit for editing purposes. However, as a user who is used to VIM keybindings in my workflow, I find it challenging to fully transition to MarkEdit.

Therefore, I respectfully request that you consider adding VIM keybindings functionality to MarkEdit. This addition will make your editor even more efficient for users familiar with VIM.

Additionally, there is already a plugin called codemirror-vim that implements VIM keybindings, making integration straightforward.

cyanzhong commented 1 year ago

Thanks for the feedback. I actually tried the package you mentioned back in the days I started the project; it worked well.

However, other than key bindings, it also has something to do with the UI, such as the status bar:

image

Playground to try it out. To have a perfect integration, we may need to rewrite this with native UI technologies (or at least test if it's good enough), and I doubt if I can achieve this flawlessly as I don't quite use VIM often (😂).

This is still in my backlog, and I may validate the idea at some point.

cyanzhong commented 1 year ago

I did an initial investigation and so far, my concern about the UI should be relatively fine. However, I noticed an annoying text rendering issue with the block cursor running on Safari: https://github.com/replit/codemirror-vim/issues/118

While this is not a dealbreaker, it is annoying for those who seek pixel-perfect products.

soomtong commented 1 month ago

it is annoying for those who seek pixel-perfect products.

Could you please enable the use of experimental options for us? We(esp. I) would like to have access to this feature as soon as possible :)