Skip to content
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

feat: add fzf-lua integration for grepping in files and dirs #620

Merged
merged 2 commits into from
Dec 15, 2024

Conversation

mikavilpas
Copy link
Owner

Previously, it was only possible to use Telescope to grep (search for
text) in files and directories. This commit adds support for using
fzf-lua.nvim.

The default continues to be Telescope, but users can now set the
following values to opt into using fzf-lua:

---@type YaziConfig
{
  -- ... other settings
  integrations = {
    grep_in_directory = "fzf-lua",
    grep_in_selected_files = "fzf-lua",
  },
}

This preserves the old behaviour but more easily allows for an
alternative builtin implementation to be used in the next commit.
@mikavilpas mikavilpas force-pushed the fzf-lua branch 2 times, most recently from e710b43 to 21d5a81 Compare December 15, 2024 19:11
Previously, it was only possible to use Telescope to grep (search for
text) in files and directories. This commit adds support for using
fzf-lua.nvim.

The default continues to be Telescope, but users can now set the
following values to opt into using fzf-lua:

```lua
---@type YaziConfig
{
  -- ... other settings
  integrations = {
    grep_in_directory = "fzf-lua",
    grep_in_selected_files = "fzf-lua",
  },
}
```
@mikavilpas mikavilpas merged commit 56b80f3 into main Dec 15, 2024
16 checks passed
@mikavilpas mikavilpas deleted the fzf-lua branch December 15, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant