Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a vim error: .md is not an editor command #9

Closed
DrGo opened this issue Jul 1, 2020 · 5 comments
Closed

a vim error: .md is not an editor command #9

DrGo opened this issue Jul 1, 2020 · 5 comments

Comments

@DrGo
Copy link

DrGo commented Jul 1, 2020

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

@fcpg
Copy link
Owner

fcpg commented Jul 1, 2020

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?

@DrGo
Copy link
Author

DrGo commented Jul 1, 2020

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

@fcpg
Copy link
Owner

fcpg commented Jul 7, 2020

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_ ?

@DrGo
Copy link
Author

DrGo commented Aug 3, 2020

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?

@fcpg
Copy link
Owner

fcpg commented Sep 29, 2022

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 fcpg closed this as completed Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants