This commit is contained in:
Bryan Ramos 2026-04-30 16:35:19 -04:00
parent 17bf7e4973
commit 7d72471237
17 changed files with 297 additions and 538 deletions

29
lua/plugins/oil.lua Normal file
View file

@ -0,0 +1,29 @@
return {
{
"stevearc/oil.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
lazy = false,
config = function()
local oil = require("oil")
oil.setup({
default_file_explorer = true,
skip_confirm_for_simple_edits = true,
view_options = {
show_hidden = true,
},
float = {
padding = 4,
max_width = 100,
max_height = 30,
border = "rounded",
},
})
require("which-key").add({
{ "-", "<cmd>Oil<cr>", desc = "Open Parent Dir" },
{ "<leader>e", oil.toggle_float, desc = "File Explorer" },
})
end,
},
}