How to exclude folders? #257
Answered
by
PatrickF1
angelus2014
asked this question in
Q&A
Replies: 4 comments 3 replies
-
Hi Angelo, are you referencing this file? https://github.com/junegunn/fzf/blob/master/shell/key-bindings.fish |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hello,
On 11 Aug 2022, at 22:05, Patrick wrote:
Hi, updating my gitignore and passing in `--eclude=Library/` works perfectly fine for me. Are you sure you are executing fzf.fish's search file function and not the one from https://github.com/junegunn/fzf/blob/master/shell/key-bindings.fish?
Well, I’m starting it with `CTRL-ALT-T`, which should be the correct way to invoke it.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
CTRL+ALT+T is definitely the wrong keybinding. fzf.fish uses CTRL+ALT+F
https://github.com/patrickf1/fzf.fish#file-paths.
On Fri, Aug 12, 2022 at 11:33 PM angelus2014 ***@***.***>
wrote:
… Hello,
On 11 Aug 2022, at 22:05, Patrick wrote:
> Hi, updating my gitignore and passing in `--eclude=Library/` works
perfectly fine for me. Are you sure you are executing fzf.fish's search
file function and not the one from
https://github.com/junegunn/fzf/blob/master/shell/key-bindings.fish?
Well, I’m starting it with `CTRL-ALT-T`, which should be the correct way
to invoke it.
—
Reply to this email directly, view it on GitHub
<#257 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPAJEBEM5ER3IGW6IOO3ZTVY46RXANCNFSM56DJMKEA>
.
You are receiving this because you commented.Message ID: <PatrickF1/fzf.
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
angelus2014
-
Hello,
On 14 Aug 2022, at 2:17, Patrick wrote:
CTRL+ALT+T is definitely the wrong keybinding. fzf.fish uses CTRL+ALT+F
https://github.com/patrickf1/fzf.fish#file-paths.
With this key combination, it’s still showing results from the Library folder…
[edit] Oeps, the `opts` setting wasn't active. I should put it somewhere permanent. Apparently, the .gitignore setting doesn't work or it needs both settings to actually work.
Thank you!
…---
With regards,
Angelo Machils
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
First off, please excuse if this has been addressed before or that I'm just missing something, I've just started with FZF. I'm on a Mac and when using fzf.fish I want to exclude the "Library" folder. I've tried with creating a
.gitignore
file withLibrary/
inside it. As I understand, fzf uses fd instead of find and as such should use this.gitignore
file. It doesn't. I also tried withset fzf_fd_opts --hidden --exclude=Library/
, again no joy.I looked inside the fzf_key_bindings.fish file and there I read:
Does this mean that it isn't using fd, but find??
With regards,
Angelo Machils
Beta Was this translation helpful? Give feedback.
All reactions