diff --git a/README.md b/README.md index 8526157..7e025ed 100644 --- a/README.md +++ b/README.md @@ -414,6 +414,7 @@ require'fzf-lua'.setup { }, args = { prompt = 'Args❯ ', + files_only = true, actions = { -- added on top of regular file actions ["ctrl-x"] = actions.arg_del, diff --git a/doc/fzf-lua.txt b/doc/fzf-lua.txt index 5aa7094..cea768a 100644 --- a/doc/fzf-lua.txt +++ b/doc/fzf-lua.txt @@ -448,6 +448,7 @@ Consult the list below for available settings: }, args = { prompt = 'Args❯ ', + files_only = true, actions = { -- added on top of regular file actions ["ctrl-x"] = actions.arg_del, diff --git a/lua/fzf-lua/config.lua b/lua/fzf-lua/config.lua index 79f0189..bc60c2a 100644 --- a/lua/fzf-lua/config.lua +++ b/lua/fzf-lua/config.lua @@ -216,6 +216,7 @@ M.globals.grep = { M.globals.args = { previewer = function() return M.globals.default_previewer end, prompt = 'Args> ', + files_only = true, file_icons = true and M._has_devicons, color_icons = true, git_icons = true,