Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I refresh files available to CommandT in vim

Tags:

I'm having this occasional problem:

In macvim I create a new file in the current directory using

:e foo.coffee 

I save that file and continue working in macvim. I close and restart macvim, and use <Leader>T to try to open that file but it's not being listed.

I see foo.bar in the directory and can open it manually, but why is not available for CommandT? Is there a way to sort of punch CommandT in the head and refresh the files available to it?

Thanks

like image 442
Marty Cortez Avatar asked Apr 04 '12 16:04

Marty Cortez


1 Answers

You can also use <C-f> (that's control-f), when CommandT is open.

Ref: https://github.com/wincent/Command-T under the section titled:

The following mappings are active when either the prompt or the file listing has focus

(I would like to link to the heading, but the README is plain text, so there are no heading anchors).

like image 83
Amiel Martin Avatar answered Oct 27 '22 11:10

Amiel Martin