From a015ce40351dbe76ec902404f3502d9c227ef374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Sun, 5 Oct 2025 13:26:50 +0200 Subject: [PATCH] feat: add stevearc/oil.nvim --- lua/config/plugins.lua | 1 + lua/plugins/oil.lua | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 lua/plugins/oil.lua diff --git a/lua/config/plugins.lua b/lua/config/plugins.lua index 415f52d..8e04373 100644 --- a/lua/config/plugins.lua +++ b/lua/config/plugins.lua @@ -25,6 +25,7 @@ local r = function(m) require("plugins." .. m) end local order = { "colorscheme", + "oil", } for _, m in ipairs(order) do diff --git a/lua/plugins/oil.lua b/lua/plugins/oil.lua new file mode 100644 index 0000000..e17b11e --- /dev/null +++ b/lua/plugins/oil.lua @@ -0,0 +1,7 @@ +add, now, later = MiniDeps.add, MiniDeps.now, MiniDeps.later + +later(function() + add("stevearc/oil.nvim") + require("oil").setup({ view_options = { show_hidden = true } }) + vim.keymap.set("n", "-", require("oil").open, { desc = "Open parent directory" }) +end)