Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty results #570

Open
mcandre opened this issue May 2, 2021 · 3 comments
Open

Empty results #570

mcandre opened this issue May 2, 2021 · 3 comments

Comments

@mcandre
Copy link

mcandre commented May 2, 2021

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
Copy link
Author

mcandre commented May 2, 2021

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 mcandre changed the title Bad results for non-git projects Empty results May 2, 2021
@mcandre
Copy link
Author

mcandre commented May 2, 2021

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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants