[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] Persistent Vim Folding



On Jan 25, 2008 1:39 AM, Amit Uttamchandani <atu13439@csun.edu> wrote:
> Hey guys,
>
> Been using Vim/GVim a lot recently and I am loving it!
>
> I recently started using the folding feature. I created a bunch of folds but when I quit GVim and restart it..all the folds are gone!
>
> Is there anyway to store the folds, so the next time I launch the same document, it stays?
>
> Thanks to all the Vim Gurus out there.
>
> Amit

Looking at the vim documentation, it looks like you use the :mkview
and :loadview commands (:mkview before you exit the file, :loadview
once you reopen it). I've never done this, so your mileage may vary.

http://www.vim.org/htmldoc/usr_28.html#28.4

Kyle Barbour


Reply to: