-
Currently, I use another key map to modify the fd_opts by adding "-I" (i.e. --no-ignore) during the "files" picker launch. {
'<leader>f', "<cmd>FzfLua files<CR>",
{ noremap = true, desc = 'fzf: files' }
},
{
'<leader>F', "<cmd>lua require('fzf-lua').files({ fd_opts = '--color=never --hidden --type f --type l --exclude .git -I' })<CR>",
{ noremap = true, desc = 'fzf: files disrespect ignore files' }
}, It works. I also tried to map using FzfLua like I tried to run it in command mode My questions:
Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Press F1 for help, alt-i toggle --no-ignore, alt-h toggles hidden, alt-f toggles follow , fzf-lua will dynamically update fd_opts for you, you can customize these keys of course, see the defaults for |
Beta Was this translation helpful? Give feedback.
Press F1 for help, alt-i toggle --no-ignore, alt-h toggles hidden, alt-f toggles follow , fzf-lua will dynamically update fd_opts for you, you can customize these keys of course, see the defaults for
actions.files
.