feat(ide): terminal file manager integration

This commit is contained in:
Guz
2024-12-08 11:30:11 -03:00
parent db772fad6f
commit 9c4fc87bef
2 changed files with 27 additions and 0 deletions

View File

@@ -179,4 +179,21 @@ return {
})
end,
},
-- File explorer
{
-- (Probably can be replaced by local functions in the config)
"tfm.nvim",
cmd = { "Ex", "Tfm", "TfmSplit", "TfmVsplit", "TfmTabedit" },
keys = {
{ "<leader>e", ":Tfm<cr>", desc = "[TFM] Open file manager" },
},
after = function()
require("tfm").setup({
file_manager = "lf", -- TODO: Use Yazi (https://github.com/sxyazi/yazi) as file manager
replace_netrw = true,
enable_cmds = true,
})
end,
},
}