我遇到了令人敬畏的
ctrlp.vim plugin.它是一个很好的替代
Command-T plugin,我以前用过。我不喜欢的Command-T的是,需要大约20-30秒来重新扫描文件,当它第一次启动vim后被调用。
CtrlP工作得更快,但似乎没有自动重新扫描新创建的文件。如何手动触发重新扫描?
谢谢!
从
documentation:
<F5> - Refresh the match window and purge the cache for the current directory. - Remove deleted files from MRU list.
这假设你已经在ctrl-p模式。请注意,您可以在查询中间点击F5,即可以键入几个字符,找到它不匹配最近更新的文件,然后点击F5刷新。如果文件刚刚添加到ctrl-p缓存,它将自动显示匹配。