Re: Remembering 'Fold State' across buffers

2006-05-30 Thread Charles E Campbell Jr
Mark Woodward wrote: interestingly its not doing it this morning! It might have been a combination of factors causing this. I'll have to try and reproduce it. Tony- no, not sourcing vimrc_example.vim DrChip - I'll have to look into set hidden. Not sure how session would help

Remembering 'Fold State' across buffers

2006-05-26 Thread Mark Woodward
Hi all, The problem I'm having is I'll open all folds in a buffer, switch buffers, go back to the original and all folds are closed again. Is there a way to stop this? ie Vim remembers the 'fold state' of the buffer when I return to it? So if folds were open when I left they'll be open when I

Re: Remembering 'Fold State' across buffers

2006-05-26 Thread A.J.Mechelynck
Mark Woodward wrote: Hi all, The problem I'm having is I'll open all folds in a buffer, switch buffers, go back to the original and all folds are closed again. Is there a way to stop this? ie Vim remembers the 'fold state' of the buffer when I return to it? So if folds were open when I left

Re: Remembering 'Fold State' across buffers

2006-05-26 Thread Eric Arnold
(I missed part of this thread, so sorry if this has already been mentioned). Have you checked for mode lines at the top or bottom of the files which set fold options? If there aren't any which might be confusing you, you could consider adding your own mode lines to have the folding appropriate

Re: Remembering 'Fold State' across buffers

2006-05-26 Thread Mark Woodward
On Fri, 26 May 2006 07:58:22 -0600 Eric Arnold [EMAIL PROTECTED] wrote: (I missed part of this thread, so sorry if this has already been mentioned). Have you checked for mode lines at the top or bottom of the files which set fold options? If there aren't any which might be confusing you,