modify vimrc to support chdir dynamically