-
Notifications
You must be signed in to change notification settings - Fork 1
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
[fzf] Pass different options to fzf for display #12
Comments
Hey there, thanks for reporting this issue! I don't think I made it configurable but I can figure out a way to make it configurable at least, in that way the user has control over the options passed, I think a nice place to put it would be in the configuration file that already gets created upon initialization. Right now I'm heading to bed (2AM here, got work tomorrow) but I'll work on it tomorrow and hopefully release a new version on the same day 👍 |
Always disable --preview when running FZF. Fixes #12
Hi @sangeeth96! I went with a much simpler solution that just disables the preview by applying Issues should be fixed and a new version of Let me know if you experience any other issues ✌️ |
@SidOfc Yaay! Seems to be working alright now: May I ask if it's supposed to take only half the width of the terminal or is that also because of my |
The reason it does not span the entire terminal is because all data is completely shown and nothing else comes after it, this is how FZF behaves by default. If you'd like to see more information check out the config file located in The values you can use are the keys of the agents object from Caniuse JSON data which can be found here: https://raw.githubusercontent.com/Fyrd/caniuse/master/data.json. The |
Hi @sangeeth96!, I think I misunderstood when you first asked about the screen width taken up by FZF. I truncated the titles to 24 characters max. I've added a check and published version This also happens to make features more searchable since more of the text is available to actually search for now. |
@SidOfc Thanks for this! |
Hi there! Loving the tool you created. I have
FZF_DEFAULT_OPTS
set in my.zshrc
which sets preview window by default. As you may have guessed, this doesn't really work well with cani. Is it possible to pass or set different fzf options for cani?The text was updated successfully, but these errors were encountered: