diff options
Diffstat (limited to 'nvim/lua/plugins/oil-nvim.lua')
| -rw-r--r-- | nvim/lua/plugins/oil-nvim.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nvim/lua/plugins/oil-nvim.lua b/nvim/lua/plugins/oil-nvim.lua new file mode 100644 index 0000000..af948a3 --- /dev/null +++ b/nvim/lua/plugins/oil-nvim.lua @@ -0,0 +1,13 @@ +return { + 'stevearc/oil.nvim', + ---@module 'oil' + ---@type oil.SetupOpts + opts = { + vim.keymap.set("n", "<F2>", "<Cmd>Oil<CR>", { desc = "Open parent directory" }), + }, + -- 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. + lazy = false, +} |
