This CM6 vim mode experiment repo from the BountySource issue seems like the most up to date and promising effort thus far. Is there an up to date guide for integrating code for CM into Obsidian? I only just got started with Obsidian this last week, and don’t have the context of how CM fits in.
Following up on this, the recent changes in the repo (12 hours ago as of this post) have made great progress. I’m able to build and run a barebones CM6 editor with this new experimental Vim mode now
In my very light testing I haven’t had any issues with basic Vim usage. What is typically the next step for including CM changes into Obsidian when a new beta is being worked on, like v0.13 is now?
PS: I don’t know who to ping about this, so I’ll ping you given how Vim is blocking us from using Live Preview @santi
thanks for keeping up with this post, Like you said I haven’t been able to move to Live Preview, due to the lack of vim.
I’m not sure if I understood what you said correctly, did you manage to test vim in Obsidian’s live preview with the updates done in that CM6 repo?
Really hope there’s a solution for us desperate vimers
licat is creating pulls against that cm6 vim mode experiment repo Add support for font family and font size on fat-cursor. by lishid · Pull Request #1 · nightwing/cm6-vim-mode-experiment · GitHub
Oh we’ve already gotten vim mode working in the upcoming release - licat
Yes vim mode is coming to live preview - licat
And here it is in 0.13.8!
Vim mode is now available for both Live Preview and Source mode.
With this VIM Mode support, Is there a way to enable copy/paste from system clipboard to the note and vice versa?
…and restart obsidian.
The vimrc plugin doesn’t work yet with the new editor.
At least on Mac, Cmd-c/x/v work in insert mode with the new CM6 editor too.
Whoops noted, sorry!
Didn’t see this - oops! Yes I was testing the experimental Vim repo, keeping up with their progress and testing in a stand alone CM6 editor. It got far enough to be included, which I was thrilled to see, and had nothing to do with my testing