Skip to content

[feature request] Provide api to integrate with fzf-lua #10

Description

@towry

The UI is great, but i'd like to use it with fzf-lua, that means use this as ui lib to collect rg query and args and use fzf-lua to run the search and present the results.

截屏2024-01-04 16 31 24

The API should be like:

require('rgflow').open(nil, nil, vim.uv.cwd(), {
 on_enter = function(rgargs)
  local fzf = require('fzf-lua')
  --- .... use fzf to run the search.
end
})

fzf-lua provided actions so I can bind keymap to easily toggle between fzf-lua picker and rgflow ui to change the args and run search again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions