-
Notifications
You must be signed in to change notification settings - Fork 85
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
Ability to filter file name only instead of the full path for files provider #379
Comments
Just type what you want to search and you'll see them. Since #330, the long matched items won't be invisible completely. |
Try #389, but you have to build the Python dynamic module, or uses the cached content for external dyn filter. I don't have time to optimize for the pure Python version. |
Thanks! How do I change to use the "python dynamic module" ? I tried using that branch and it didn't work so I am guessing I'm not doing that currently |
See https://github.com/liuchengxu/vim-clap/blob/master/INSTALL.md#python-dynamic-module. If you are using macOS or Linux, just go to the clap root directory and then running |
Yep that fixed it. Thanks for your work! |
Is your feature request related to a problem? Please describe.
I used to use LeaderF before transitioning to vim-clap, and I miss a feature that it has, where you can match only on file name instead of the entire file path. This is also really nice when dealing with long paths because you can't even see the file name in that case when using
Clap files
Describe the solution you'd like
An argument to
Clap files
which changes the behaviour to only list the file names and not the entire paths. eg--names-only
Describe alternatives you've considered
Implementing my own clap provider that does this instead of Clap files
The text was updated successfully, but these errors were encountered: