Wednesday, August 12, 2015

Keep markdown headings open when switching buffers?

I use markdown files with #headings, a vim plug-in folds and unfolds the headings.

When I initially open a markdown file in vim, all the headings are folded.
I drill down through the headings to access a line.

I switch to another buffer, read a line, and then switch back to the previous buffer.

All the markdown headings are refolded :(
I have to drill down through the headings again to access the line I had unfolded.

Sometimes I need to reopen 2 or 3 headings.
Is there a way to keep the markdown headings open when switching buffers?
Or do you know of a markdown plugin with this desirable behavior?

Thank you.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment