How do I store and restore manually created folds across different

Vim invocations? You can use the “:mkview” command to store manually created folds. Later, you can use the “:loadview” command to restore the folds. For this to work, the ‘viewoptions’ must contain “folds”. For more information, read: 28.4 :mkview :loadview ‘viewoptions’ ‘viewdir’ :mksession ‘sessionoptions’

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind