Closed linrongbin16 closed 5 months ago
hi @damanis, sorry for being so late, I submit #620 to improve this feature.
Should be done in several days.
After doing testing, I found there's a technical gap between buffer mode and (un)restrict mode, I think create another command (for example BufLiveGrep
) could be more easier to totally remove the filename
in provider.
hi @damanis, I had add FzfxBufLiveGrep
command for a No Filename live grep on current buffer in #622 . Please pull main branch and try!
Hi @linrongbin16 This configuration works.
{ '<leader>xs', '<cmd>FzfxBufLiveGrep args<cr>' },
{ '<leader><Leader>xs', '<cmd>FzfxBufLiveGrep cword<cr>' },
P.S. I'm not sure it is right idea use args
and cword
instead of buf_args
and buf_cword
. Unification should be more correct.
Hi @damanis, The command itself has Buf
, no need to add it in sub commands.
https://github.com/linrongbin16/fzfx.nvim/discussions/435