Comments
-
Greg Hurrell
This is because the directory contents are cached for performance reasons (Command-T was written to work well on projects with 10s of thousands of files).
Given a sufficiently recent version of Command-T (eg. 1.4) you can hit
C-f
when the match listing is open to flush the cache and trigger a refresh of the match listing.On older versions of Command-T you can issue a
:CommandTFlush
command to clear out the cache. If you find yourself doing this a lot you might want to set up a mapping for it in your.vimrc
; something like:map <leader>f :CommandTFlush<CR>
Personally, I used to use a mapping like that, but I dropped it with the arrival of the
C-f
feature, as I don't need it any more. -
Greg Hurrell
There are a couple tickets in here related to making the cache-flushing happen automatically, eg. ticket #1626. There's also this pull request which adds auto-flushing but can't be merged as it is not cross-platform.
Going to mark this ticket as closed but feel free to comment if you have comments or observations.
-
Greg Hurrell
Status changed:
- From: new
- To: closed
Add a comment
Comments are now closed for this issue.