return { 'stevearc/oil.nvim', ---@module 'oil' ---@type oil.SetupOpts opts = { default_file_explorer = true, delete_to_trash = true, skip_confirm_for_simple_edits = true, view_options = { show_hidden = true, }, }, -- Optional dependencies dependencies = { { 'echasnovski/mini.icons', opts = {} } }, -- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations. lazy = false, init = function() vim.keymap.set('n', '-', 'Oil', { desc = 'Open parent directory' }) end, }