Tuesday, June 4, 2013

close all folds but current?

Hey folks,

I have a problem that I suspect there is an invocation or possibly a plugin for, but I have been unable to find or figure it out. I work a lot with outline-style documents, where sections are defined by either indentation or occasionally markdown headers (mostly using Vimwiki or TVO), so I use folding extensively. What I would like to do is to be able to close all folds in a document except the one I am currently working in. 

I've had a few coder friends also tell me they would find this useful in that context as well, and I'm surprised to not find an easy way to do this already. 

Any suggestions?

-- Steen

--
--
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/groups/opt_out.
 
 

No comments: