RG: Ignoring dirs #1289
Replies: 3 comments 13 replies
-
Whatever works in the cli should work in fzf-lua, run Alternatively you can also use |
Beta Was this translation helpful? Give feedback.
-
My config mistake. BTW, for anyone else reading this, I've made my fzf-lua configs identical both in the shell and neovim like so:
export FZF_LUA_RG_OPTS="$(tr '\n' ' ' < "$RIPGREP_CONFIG_PATH")" fzf setup: opts = {
files = {
fd_opts = vim.env.FZF_CTRL_T_COMMAND:match(' (.*)'),
},
fzf_args = vim.env.FZF_DEFAULT_OPTS,
grep = {
rg_opts = vim.env.FZF_LUA_RG_OPTS,
}
} |
Beta Was this translation helpful? Give feedback.
-
@ibhagwan hate to say this, but there is probably never going to be a global fd config file. - I recommend removing |
Beta Was this translation helpful? Give feedback.
-
how the heck do i ignore a directory with
rg_opts
and fzf-luait works perfectly via cli but not when I pass identical args to rg_opts
Beta Was this translation helpful? Give feedback.
All reactions