From 3b2163b821f4dbf1003804b9b19fd276dc4bc350 Mon Sep 17 00:00:00 2001 From: tdback Date: Wed, 4 Dec 2024 18:48:24 -0500 Subject: initial commit to new repo --- lua/custom/plugins/oil.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lua/custom/plugins/oil.lua (limited to 'lua/custom/plugins/oil.lua') diff --git a/lua/custom/plugins/oil.lua b/lua/custom/plugins/oil.lua new file mode 100644 index 0000000..32950fa --- /dev/null +++ b/lua/custom/plugins/oil.lua @@ -0,0 +1,13 @@ +return { + "stevearc/oil.nvim", + dependencies = { "nvim-tree/nvim-web-devicons" }, + config = function() + require("oil").setup({ + default_file_explorer = true, + skip_confirm_for_simple_edits = true, + view_options = { show_hidden = true }, + }) + + vim.keymap.set("n", "-", "Oil", { desc = "Open parent directory" }) + end, +} -- cgit v1.2.3