Replies: 3 comments 1 reply
-
Hi Mitsuhiro! Interesting, this is the third request to use skim (for some reason I can't find the other two 🤷♂️).
Yes, this is a major reason I haven't done it despite the other two requests.
However, if skim does plan on always conforming to fzf's interface, then I can consider supporting it. Do you know if this is the case though? |
Beta Was this translation helpful? Give feedback.
-
I once did something similar: jethrokuan/fzf#168 The point is they are different projects. Everyone can write their own "fzf", there is no such assured "compatibility" when it comes to niche usages, where fzf shines the most. The "compatibility" you mentioned can be easily achieved:
|
Beta Was this translation helpful? Give feedback.
-
Thank you guys for your valuable responses. After searching for any pieces of information about their stance on the compatibility in skim's repository, I could not find that. I agree that creating symlink should be the easiest way. For my personal preference, I don't want to expose the symlink and the environment variable to global scope. If fzf.fish were a monolithic script, I would make a wrapper in which path to the symlink and the environment variable are passed to fzf.fish. However, it isn't, so it's uneasy for me but this is just my personal issue. Anyways, I'll find my best solution. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi, first of all many thanks for creating this nice plugin!
skim is a clone of fzf written in Rust. I use skim in my daily life and wish for skim support by any chance.
fzf and skim have compatible interface, so it is easy to adjust fzf.fish to skim:
SKIM_DEFAULT_OPTIONS
in place ofFZF_DEFAULT_OPTS
.sk
in place offzf
infunctions/_fzf_wrapper.fish
Actually I forked fzf.fish [here] in which the above adjustments are done, but IMHO it would be nice if fzf.fish has an option to use skim in place of fzf. I see adding another option will increase maintenance costs, so I'd like to hear your thought.
Beta Was this translation helpful? Give feedback.
All reactions