This commit is contained in:
cedricreper 2025-10-17 15:04:25 +09:00
parent ab58d1a503
commit 631e88bdd2
15 changed files with 122 additions and 366 deletions

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

@ -0,0 +1,18 @@
return {
{
'stevearc/oil.nvim',
---@module 'oil'
---@type oil.SetupOpts
opts = {},
-- Optional dependencies
dependencies = { { 'echasnovski/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 {
vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' }),
}
end,
},
}