On Saturday 13 November 2010 08:16:58 Frank Schaefer wrote: > A very long time ago I did something that would allow > vim to switch to the directory of a file that I load and > save it somehow in a view. What is happening now is > that Vim sets is current directory as soon as a file > is loaded to something somewhere in the project ... > but I do not know why.
<snip> > ______ " load/save view information for every file (folds, > etc.) autocmd BufWinLeave * mkview > autocmd BufWinEnter * silent loadview > autocmd BufReadPost * silent loadview <snip> a quick look at help for mkview shows one of the settings it tampers with is current pwd -- the first thing i'd try would be removing these autocommands and seeing if the problem persists also i would check the setting of 'autochdir' and set it explicitly in my .vimrc to the way i wanted it sc -- 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
