Hello, On 1/10/07, Robert Lee <[EMAIL PROTECTED]> wrote:
I discovered that the problem was caused by the lines: au BufWinLeave * mkview au BufWinEnter * silent loadview Apparently the view file that is created contains a copy of the vimrc settings. This prevents changes to the vimrc to be honored once a file has been opened. The temporary fix was to clean up the "vimfiles/view" directory. I think the right fix is to move these files to the very top of the vimrc file, but I am skeptical that this will help at all.
I wish mkview only saved folds/marks/cursor position information instead of a full vimrc copy.
You can change the 'viewoptions' option to control the type of information that gets saved in the view file. :help 'viewoptions' :help 'sessionoptions' - Yegappan