Files
2025-12-24 14:59:16 +01:00

24 lines
772 B
Lua

return
{
'stevearc/oil.nvim',
---@module 'oil'
---@type oil.SetupOpts
opts = {},
-- Optional dependencies
dependencies = { { "nvim-mini/mini.icons", opts = {} } },
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
lazy = false,
config = function()
require("oil").setup({
default_file_explorer = true,
columns = {
"icon",
},
skip_confirm_for_simple_edits = true,
constrain_cursor = "editable",
})
end
}