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?


Include set noautochdir in your ~/.vimrc, and make sure that none of your other plugins has set autochdir enabled.

  • Thank u so much. Just learned about autochdir in vim. :) – dofine Sep 28 '11 at 6:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.