16
4
I really like the folding in Vim, but there are a couple non-file buffers (command-t plugin's window for one) that I really don't want it folding, as the normal fold commands don't work there.
If I could just tell vim to not automatically close folds (only close them when I tell it to) that should fix the problem, but I'm not seeing any options in the vim help for changing that behavior. Is there a way to have folding enabled but not automatically close all folds when a buffer is created/file opened?
2
From http://tech.groups.yahoo.com/group/vim/message/119298: "With nofoldenable, all folds are open, as if they did not exist at all. You cannot interact with them. But, as soon as you try interacting with them (by pressing zc for example) you automatically set foldenable, which will apply all the folds that exist in the window."
– Mansoor Siddiqui – 2011-08-06T18:35:41.233