This commit is contained in:
grechkagk-thinkpad 2026-02-01 16:42:22 +08:00
commit 36c66e33e6
17 changed files with 348 additions and 0 deletions

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

@ -0,0 +1,15 @@
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.
keys = {
{ "-", "<CMD>Oil<CR>", desc = "Oil: Open parent directory" },
{ "<leader>e", "<CMD>Oil<CR>", desc = "Oil: Explorer" },
},
lazy = false,
}