nvim: use oil.nvim

This commit is contained in:
js0ny 2025-11-25 17:35:05 +00:00
parent 960699a2f1
commit bd2a7fcc26
4 changed files with 26 additions and 7 deletions

View file

@ -2,7 +2,7 @@ return {
-- Picker
{ import = "plugins.mod.fzf" },
-- Explorer
{ import = "plugins.mod.neo-tree" },
-- { import = "plugins.mod.neo-tree" },
{
"rmagatti/auto-session",
event = "BufReadPre",
@ -41,4 +41,17 @@ return {
"Neogit",
},
},
{
"stevearc/oil.nvim",
---@module 'oil'
---@type oil.SetupOpts
opts = {
delete_to_trash = true,
default_file_explorer = true,
},
-- 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,
},
}