From 3a69bd9cd9113b17288955ae34488b3a2a512417 Mon Sep 17 00:00:00 2001 From: nichkara Date: Thu, 1 Jan 2026 19:12:54 +0100 Subject: [PATCH] Switch NerdTREE for oil --- lua/explorer.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/explorer.lua b/lua/explorer.lua index a40b207..0c34800 100644 --- a/lua/explorer.lua +++ b/lua/explorer.lua @@ -77,7 +77,7 @@ require("oil").setup({ use_default_keymaps = true, view_options = { -- Show files and directories that start with "." - show_hidden = false, + show_hidden = true, -- This function defines what is considered a "hidden" file is_hidden_file = function(name, bufnr) local m = name:match("^%.") @@ -200,3 +200,4 @@ require("oil").setup({ border = nil, }, }) +vim.keymap.set("n", "", "Oil", { desc = "Open parent directory" })