vim-waikiki icon indicating copy to clipboard operation
vim-waikiki copied to clipboard

a vim error: .md is not an editor command

Open DrGo opened this issue 5 years ago • 4 comments
trafficstars

Thanks for the great minimalist plugin

to reproduce: type ## Manual plugins v$ to select and a vim error in function follow_link: .md is not an editor command. the file is created as "Manual-plugins" without the .md ext. the file is not linked

DrGo avatar Jul 01 '20 00:07 DrGo

Thank you!

You mean you included the hashes in the selection, and you would like them to appear in the link and the filename? Or you would like the plugin to ignore the hashes?

fcpg avatar Jul 01 '20 18:07 fcpg

No. Not the hashes. Just visually selected the phrase “manual plugins”

DrGo avatar Jul 01 '20 22:07 DrGo

Hmm, I cannot reproduce; on my side, the buffer Manual_plugins.md is properly created. What is your environment/OS? Did you change some plugin options, like waikiki_create_action? Does it happen if you select with vg_ ?

fcpg avatar Jul 07 '20 13:07 fcpg

I tried again and it only occurs when there is a space at the end of the visually selected text. Is it possible that untrimmed surrounding spaces is causing both the creation of a file without the .md extension and the subsequent error?

DrGo avatar Aug 03 '20 16:08 DrGo

Do you still have the issue? I wasn't able to reproduce on my side, and since it's pretty old now I'm closing it, but feel free to open a new one with more details if necessary.

fcpg avatar Sep 29 '22 08:09 fcpg