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

feat: Add a default dir to bypass cwd in configuration #8

Open
smitropoulos opened this issue Mar 25, 2023 · 3 comments
Open

feat: Add a default dir to bypass cwd in configuration #8

smitropoulos opened this issue Mar 25, 2023 · 3 comments
Labels
feat File a feature

Comments

@smitropoulos
Copy link

What would you like?

Heya!

I want to thank you for your amazing job and contribution! I took the liberty of fiddling with the plugin to suit my needs better, as most of the time I find myself wanting to find something from my $HOME.

Adding a default dir to the configuration (default_dir) did exactly this. If it is set, fd finds all the directories inside the default directory instead of cwd, else it resorts to cwd by default.

Take a look if you are interested, I will open a PR :)

Additional notes

No response

@smitropoulos smitropoulos added the feat File a feature label Mar 25, 2023
@smitropoulos
Copy link
Author

Bah, seems like I cannot create a branch from main

@smitropoulos
Copy link
Author

Well of course I did not read CONTRIBUTING.md...

@princejoogie
Copy link
Owner

Hey @stefmitropoulos any reasons why you would not just open a new neovim instance in your $HOME dir and use the default builtin.find_files to suite your needs?

This plugin was made to specifically filter out directories in your cwd so let me know if im misunderstanding something. Thanks!

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

No branches or pull requests

2 participants