Linux.com

Save state error

Posted by: Anonymous Coward on February 01, 2007 08:27 PM
Nice article but I'm having problems with loading and saving my folds setup.

You suggest the following in ~/.vimrc:

> au BufWinLeave * mkview
> au BufWinEnter * silent loadview

Firstly: I have no "~/.vimrc", so I create one and insert the two lines above.
Secondly: vim does not save/restore folds and gives errors when starting/exiting.

Please help.

#

Return to Vim tips: Folding fun