fzf-lua Extra
editor.fzf-lua installs fzf-lua and switches Blak’s picker dispatcher to the
fzf-lua adapter. The Blak commands and <leader>f* mappings stay stable.
Enable it
Section titled “Enable it”-- ~/.config/blak/lua/blak/user.luareturn { extras = { enabled = { "editor.fzf-lua", }, },}Because this extra adds a plugin, run:
:BlakExtras syncWhat it adds
Section titled “What it adds”| Surface | Contribution |
|---|---|
| Plugin | ibhagwan/fzf-lua |
| Dependency | mini.icons |
| Config | picker.provider = "fzf_lua" |
Configure the provider
Section titled “Configure the provider”The extra sets the provider for you. Keeping the value in user.lua can make
the intended picker obvious:
return { picker = { provider = "fzf_lua", }, extras = { enabled = { "editor.fzf-lua" }, },}Picker coverage
Section titled “Picker coverage”fzf-lua handles:
| Blak kind | fzf-lua call |
|---|---|
files |
files |
grep |
live_grep |
buffers |
buffers |
recent |
oldfiles |
commands |
commands |
keymaps |
keymaps |
help |
help_tags |
diagnostics |
diagnostics_workspace |
lsp_symbols |
lsp_document_symbols |
workspace_symbols |
lsp_workspace_symbols |
Blak does not expose an fzf-lua options table in user.lua. For deep fzf-lua
customization, create a local extra with your own fzf-lua spec.
Switch back
Section titled “Switch back”return { picker = { provider = "fff", }, extras = { enabled = {}, },}Then run :BlakExtras sync so lazy.nvim removes fzf-lua if nothing else uses it.