On Sat, Nov 13, 2010 at 06:16:58AM -0800, 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.
Nothing is standing out to me from your .vimrc; did you create a plugin file under ~/.vim/plugin/ that does something related to this? > In my opinion, I did everything to undo this, but even if I > delete all *.sw[po] files and all view files in ./vim/view. Is > there a way to trace the Vim commands and find out > what is happening behind the scenes? There are a couple of ways of going about this: if you're running Vim 7.2.269 or later you can try the --startuptime command-line option when invoking Vim. It lets you specify a file for Vim to dump profiling information. It's intended to tell you why Vim takes as much time as it does to startup, but it may give you a clue to your problem. If that doesn't tell you what you need to know, you can instead try running % vim --cmd "set verbose=9" I hope that helps you solve your problem. > Here's my .vimrc > [snip] ____________________________________________________________________ These guioptions should go into your ~/.gvimrc instead. > set guifont=Monospace\ 10 > set guioptions-=T " disable toolbar > [snip] -- Erik Falor Registered Linux User #445632 http://counter.li.org
pgpQ6VgzV8fka.pgp
Description: PGP signature
