FYI: I am using vim 7.2 huge version on ubuntu 10.04.
I have used vim for a long time, but am new to PHP and
don't make much use of folding.

I am finding that vim folds certain (but not *all*) PHP
functions and futhermore, even with zR will 'refold'
the same functions when the window containing the file
goes out of focus. I find this extremely intrusive and
want this feature to 'go away'. Although it is certainly
of use to me when I want it.

I have place the following line:
setlocal foldlevel=99
at the last line of 
~/.vim/after/ftplugin/php.vim

What else do I need to do?
  As an aside, I am not clear about the difference
  between zR and zE. I may have something lurking
  in the session file from previous to the insertiong
  of the foldlevel=99 directive.
thanks
-- 
Tim 
tim at johnsons-web.com or akwebsoft.com
http://www.akwebsoft.com

-- 
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

Reply via email to