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,6 +1,16 @@
|
||||||
return {
|
return {
|
||||||
"ibhagwan/fzf-lua",
|
"ibhagwan/fzf-lua",
|
||||||
opts = {
|
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 = {
|
files = {
|
||||||
cwd_prompt = false,
|
cwd_prompt = false,
|
||||||
find_opts = [[-type f -not -path '*/\.git/*']],
|
find_opts = [[-type f -not -path '*/\.git/*']],
|
||||||
|
@ -8,5 +18,6 @@ return {
|
||||||
fd_opts = [[--color=never --type f --type l --exclude .git]],
|
fd_opts = [[--color=never --type f --type l --exclude .git]],
|
||||||
},
|
},
|
||||||
-- fzf_colors = true,
|
-- fzf_colors = true,
|
||||||
},
|
}
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue