On Wednesday, January 21, 2015 at 4:45:29 PM UTC-6, Oscar wrote: > Dear all, > > I wanted a way to make vim, when opening a file, open all folds it > contained. But *only* when opening the file: if I closed some folds on > the original file and then switched to another window or buffer, when > returning to the original one the folds I had closed should remain > closed. The only way I could solve this was by putting this in my > .vimrc: >
By the way, I'm not sure if it solves your issue or now, but you can also try the 'foldlevelstart' option as suggested here: http://vim.wikia.com/wiki/All_folds_open_when_opening_a_file -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
