esm7/obsidian-vimrc-support

bug: paste in list don't work well

Jackiexiao opened this issue · 11 comments

see gif
bug-vim-paste

esm7 commented

Thanks for taking the time to show this.
I was unable to recreate the issue, so maybe there are other factors causing it. What version of Obsidian are you using?
Also, is the issue affected by whether the Vimrc plugin is enabled?
If it also happens when the plugin is disabled, I suggest to try recreating it in the CodeMirror Vim demo. If it happens there, it's a CodeMirror issue and should be reported here. Otherwise it's an Obsidian issue and should be reported in the Obsidian forum under bug reports.

thx for your time! I use obsidian v0.10.2, I think this bug is not relevant with obsidian-vimrc-support, I will reported it in Obsidian forum

I have confirmed that this is a bug in obsidian-vimrc-support, with .obsidian.vimrc set to set clipboard=unnamed, if you paste many times, you could reproduce it. when there is nothing in .obsidian.vimrc, everything works fine @esm7

esm7 commented

hi! any progress? can you reproduce the bug?

esm7 commented

Unfortunately I couldn't find the time to work on this (or any other plugin-related topics). Hoping to get to it soon enough.

thx for your reply, take your time!!

esm7 commented

I tried spending some time on this, and while I was unable to recreate the issue, I did come up with a theory of how it might possible happen on some platforms.
Do you mind testing a potential fix by unzipping it to the plugin directory under VAULT/.obsidian/plugins/PLUGIN_NAME?
If you do happen to make the issue recreate with this version, there are some debug prints added, and I could use those from your Obsidian developer console (Ctrl+Shift+I).
obsidian-vimrc.zip

I have encountered this problem too.
When I used obsidian-vimrc.zip above, it seems to be work fine for my environment (Windows10 and Obsidian v0.10.8) 😄

Windows10 and Obsidian v0.10.9 works fine!! thx @esm7

esm7 commented

That's great news. So I wrapped it in a formal release (0.2.4).