I just installed CommandT for Vim, and it works very well, but there's an annoying bug/problem.
It seems that CommandT would change my working dir to the file I just opened. e.g. when I reach /foo/bar1/1.txt
, :pwd tells me the working directory is /foo/bar1
. Then I cannot navigate to /foo/bar2
unless manually use :cd
.
Don't know if this is due to CommandT or some other plugin. Anyone got an idea?
答案1
Include set noautochdir
in your ~/.vimrc
, and make sure that none of your other plugins has set autochdir
enabled.