AutoYADM commit: 2025-01-25 17:45:03
This commit is contained in:
parent
99c8becb9c
commit
33d566430c
1 changed files with 20 additions and 9 deletions
|
@ -1,12 +1,23 @@
|
|||
return {
|
||||
"ibhagwan/fzf-lua",
|
||||
opts = {
|
||||
files = {
|
||||
cwd_prompt = false,
|
||||
find_opts = [[-type f -not -path '*/\.git/*']],
|
||||
rg_opts = [[--color=never --files -g "!.git"]],
|
||||
fd_opts = [[--color=never --type f --type l --exclude .git]],
|
||||
},
|
||||
-- fzf_colors = true,
|
||||
},
|
||||
opts = function()
|
||||
local actions = require("fzf-lua").actions
|
||||
return {
|
||||
actions = {
|
||||
["default"] = actions.file_edit,
|
||||
["ctrl-s"] = actions.file_split,
|
||||
["ctrl-v"] = actions.file_vsplit,
|
||||
["ctrl-t"] = actions.file_tabedit,
|
||||
["alt-q"] = actions.file_sel_to_qf,
|
||||
["ctrl-p"] = actions.paste_register,
|
||||
},
|
||||
files = {
|
||||
cwd_prompt = false,
|
||||
find_opts = [[-type f -not -path '*/\.git/*']],
|
||||
rg_opts = [[--color=never --files -g "!.git"]],
|
||||
fd_opts = [[--color=never --type f --type l --exclude .git]],
|
||||
},
|
||||
-- fzf_colors = true,
|
||||
}
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue