I have been using vim for a while now and have some plugins including syntastic.
I got a project with
fileA.cpp
fileA.h
fileB.cpp
fileB.h
While debugging, I run vim fileA.cpp
, and it will open fileB.h
. I do not understand why—I cannot open fileA.cpp
at all. Any guess what might cause that?
fg
indicates no such job.
I suppose it could be syntastic telling me an included file contains errors which have to be resolved before opening the desired file.
For example, fileB.h
is included in fileA.cpp
. Because fileB.h
contains an error it will jump to that file.
Can anyone explain to me how to turn this off?
vim --clean
orvim -u NONE
? If so, you might want to see How to debug my vimrcvim --clean
it isn't reproducing the error.