diff --git a/lua/lazyvim/plugins/extras/editor/fzf.lua b/lua/lazyvim/plugins/extras/editor/fzf.lua index 9fbb98d4..dcea3b5f 100644 --- a/lua/lazyvim/plugins/extras/editor/fzf.lua +++ b/lua/lazyvim/plugins/extras/editor/fzf.lua @@ -42,13 +42,14 @@ return { config.defaults.actions.files["ctrl-t"] = require("trouble.sources.fzf").actions.open -- Toggle root dir / cwd - config.defaults.actions.files["alt-c"] = function(_, ctx) + config.defaults.actions.files["ctrl-r"] = function(_, ctx) local o = vim.deepcopy(ctx.__call_opts) o.root = o.root == false o.cwd = nil o.buf = ctx.__CTX.bufnr LazyVim.pick.open(ctx.__INFO.cmd, o) end + config.defaults.actions.files["alt-c"] = config.defaults.actions.files["ctrl-r"] return { [1] = "default-title",