diff --git a/lua/lazyvim/plugins/extras/editor/fzf.lua b/lua/lazyvim/plugins/extras/editor/fzf.lua index b2c57c4e..cd1af561 100644 --- a/lua/lazyvim/plugins/extras/editor/fzf.lua +++ b/lua/lazyvim/plugins/extras/editor/fzf.lua @@ -227,6 +227,13 @@ return { end, desc = "Find Files (Current word)", }, + { + "fW", + function() + LazyVim.pick("files", { query = vim.fn.expand("") })() + end, + desc = "Find Files (Current WORD)", + }, -- git { "gc", "FzfLua git_commits", desc = "Commits" }, { "gs", "FzfLua git_status", desc = "Status" }, diff --git a/lua/lazyvim/plugins/extras/editor/telescope.lua b/lua/lazyvim/plugins/extras/editor/telescope.lua index cb4906da..68550716 100644 --- a/lua/lazyvim/plugins/extras/editor/telescope.lua +++ b/lua/lazyvim/plugins/extras/editor/telescope.lua @@ -108,6 +108,13 @@ return { end, desc = "Find Files (Current word)", }, + { + "fW", + function() + LazyVim.pick("files", { default_text = vim.fn.expand("") })() + end, + desc = "Find Files (Current WORD)", + }, -- git { "gc", "Telescope git_commits", desc = "Commits" }, { "gs", "Telescope git_status", desc = "Status" },