ctrlpvim / ctrlp.vim

Active fork of kien/ctrlp.vim—Fuzzy file, buffer, mru, tag, etc finder.
ctrlpvim.github.com/ctrlp.vim
Other
5.57k stars 259 forks source link

Empty results #570

Open mcandre opened 3 years ago

mcandre commented 3 years ago

Hi,

When I try to find ./LICENSE.md in a project that has not yet run git init, then ctrlp gives up and returns no results. Please expand the default behavior to scan all files when no VCS is detected.

mcandre commented 3 years ago

Update: The problem is still happening even after I git init and relaunch Vim.

The problem happens with other text files, including *.h files and .gitignore configuration files.

Vim 8.1, Ubuntu 20.04 Focal Fossa, EC2 t2.micro.

mcandre commented 3 years ago

Some files can be found after I've already opened them with :e. But every time I relaunch Vim, ctrlp forgets the files and I'm back at square one. Can we please improve how ctrlp refreshes its index when Vim launches?

benyaminl commented 2 years ago

Some files can be found after I've already opened them with :e. But every time I relaunch Vim, ctrlp forgets the files and I'm back at square one. Can we please improve how ctrlp refreshes its index when Vim launches?

it depends on the opened folder you are working one or opened file currently on your screen. Have you tried using custom command?