Neovim Config
1return {
2 "stevearc/oil.nvim",
3 ---@module 'oil'
4 ---@type oil.SetupOpts
5 opts = {
6 -- Open Oil
7 vim.keymap.set("n", "<leader>pv", "<CMD>Oil<CR>", { desc = "Open parent directory" }),
8 },
9 -- Optional dependencies
10 --dependencies = { { "echasnovski/mini.icons", opts = {} } },
11 dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
12 -- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
13 lazy = false,
14}