GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Love the plugin, here's a feature request:
I keep all my notes in markdown now in Vim, it's slightly annoying to switch to a note and have the preview pop up all the time. It'd be great if it can be triggered via a mapping. I assume this would be a relatively small change, so let me know if you want me to go ahead and make it.
Thanks! I take it you're aware of the instant_markdown_slow option (slows down the previewing, but doesn't prevent it from popping up when you open a file...)
I think what's best is to add a g:instant_markdown_autostart = 0 variable which can be set, after which the plugin will not start the backend server upon opening a markdown file. Then, add a function (e.g. :ImToggle, perhaps you can think of a better name) which either starts the server or sends a DELETE request. You can then create a default key binding for that function if you want, but I don't think it's really necessary.
g:instant_markdown_autostart = 0
Pull req has been merged