Preview markdown on demand? #29

terryma opened this Issue Mar 25, 2013 · 2 comments


None yet
2 participants

terryma commented Mar 25, 2013

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.



suan commented Mar 26, 2013

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.


suan commented Oct 31, 2013

Pull req has been merged

suan closed this Oct 31, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment