zenbones.nvim icon indicating copy to clipboard operation
zenbones.nvim copied to clipboard

fzf-lua support

Open wayneashleyberry opened this issue 1 year ago • 7 comments

I'd like to help add support for fzf-lua, any tips on where to start?

wayneashleyberry avatar Jan 06 '25 20:01 wayneashleyberry

There is already a minimal support for fzf-lua. Is there anything specific you want in mind? I personally use fzf-lua for a very long time and you can checkout my config.

image

Maybe porting my config over to be default in zenbones is possible.

mcchrish avatar Jan 07 '25 07:01 mcchrish

Might be off-topic but interestingly fzf supports defining a config file https://github.com/junegunn/fzf/pull/3618 So this might be a chance to generate a zenbones theme for fzf directly.

mcchrish avatar Jan 07 '25 07:01 mcchrish

I have seen many colorschemes (catpppuccin, rose-pine, kanagawa) seem to support the plugin out of the box. I am using specifically using zenwritten which I would expect to apply the monochrome colours to fzf-lua, that's what I'd like to help add if at all possible.

Here's fzf-lua using zenwritten

Screenshot 2025-01-07 at 9 14 09 pm

Here's the same plugin using catpppuccin

Screenshot 2025-01-07 at 9 13 39 pm

wayneashleyberry avatar Jan 07 '25 19:01 wayneashleyberry

image

Here's my personal overrides without the borders: image

mcchrish avatar Jan 09 '25 19:01 mcchrish

Note that you have to set fzf_colors = true to take effect.

mcchrish avatar Jan 09 '25 19:01 mcchrish

There also an option to set fzf colors without any plugin setting via the global vim.g.fzf_colors (already used by fzf.vim), this way you get the same colors with both fzf.vim and fzf-lua.

ibhagwan avatar Jan 09 '25 22:01 ibhagwan

Note that you have to set fzf_colors = true to take effect.

This works great, I had no idea! Thanks @mcchrish, solves the problem for me.

wberry-godaddy avatar Jan 10 '25 08:01 wberry-godaddy