-
Notifications
You must be signed in to change notification settings - Fork 185
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
Ignoring files #3
Comments
Somewhat related: For dot files, it would be nice if they were ignored by default unless I type |
@Stebalien fzf-rs will read an environment variable and invoke it to fetch the input:
|
For the dotfiles, currently fzf-rs is designed to be a general search utility, so it shouldn't and couldn't change the input source. It is really handy to toggle showing hidden files by the input. If the input source provides all files(including hidden ones), we might hide them by default and show them when the query matches some form. Anyway I'll try to investigate that. |
Ah. I didn't realize fzf was a general purpose menu.
You could have a |
I'm not sure how you're walking files and directories right now, but the Running just |
@quodlibetor Thank you very much for the information, good to know that! The above information is a little old. By default, Since Anyway, thank you for the |
Ah, cool, |
What is thought about adding a line like this to the vim plugin?
That way the seperatation of concerns is still maintained, and the common use case for vim users is met out of the box? |
As described in #3, I do think a better default for SKIM_DEFAULT_COMMAND is good for both new and old users.
@nick-benoit14 Thanks for the suggestion! By setting default command, user might met situation where a file is not committed and thus cannot be found by skim. Not setting default command, user will find it OK for the first time and find it inconvenient for the rest of time(if they are using git). To me, the default options are hard to choose. It is about the balancing the use cases. This time I agree it might be better to set the default command as you said. |
It would be nice to be able to ignore certain files (e.g., dotfiles). It would be really nice if fzf-rs could read .gitignore etc (like ack, ag, and friends).
The text was updated successfully, but these errors were encountered: