This question already has an answer here:

I made a few folds in my file, but they were gone after I closed it. I'd like to save them somehow somewhere, and teach vim to automatically load them when I open this file.

marked as duplicate by Martin Tournoij Dec 17 '15 at 23:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    You can start from here :) – VanLaser Dec 17 '15 at 20:10

Browse other questions tagged or ask your own question.