kien / ctrlp.vim

Fuzzy file, buffer, mru, tag, etc finder.
kien.github.com/ctrlp.vim
7.26k stars 676 forks source link

Ctrlp cannot change working directory???? #761

Open JiangHeng12138 opened 6 years ago

JiangHeng12138 commented 6 years ago

I know that ctrlp searches for the current working directory. but my Ctrlp cannot change working directory???? For Example:

cd /home/ts/test/
vi a.txt

I type :pwd in the command mode of vim,it shows /home/ts/test. when I input crtlP enter ctrlp,it shows /home/ts

No matter which directory I am in, typing :pwd in vim's command mode is correct, but the directory displayed by ctrlp is always /home/ts

I deleted the configuration of .vimrc, but it still hasn't changed.

JiangHeng12138 commented 6 years ago

wen i set let g:ctrlp_working_path_mode = 'ra'

ctrlp show correct work path.

but I type :cd /home/ts/xxxx/ in the command mode of vim,and type :pwd, it shows /home/ts/xxxx but ctrlp Ctrlp still keeps the original path unchanged。。

Has anyone encountered such a problem?

lhanson commented 5 years ago

I just noticed this as well. I can open vim, do :cd ~/new-directory, but ctrlp still want to search whatever directory I initially opened vim from.