From 392659cbd45cd0635db3014fd159f668a69911c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sun, 17 Dec 2023 00:44:13 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20config(nvim):=20added=20so?= =?UTF-8?q?me=20options=20to=20neo-tree?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/plugins/neo-tree.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/nvim/lua/plugins/neo-tree.lua b/.config/nvim/lua/plugins/neo-tree.lua index c87b9b0e..3aa8fa06 100644 --- a/.config/nvim/lua/plugins/neo-tree.lua +++ b/.config/nvim/lua/plugins/neo-tree.lua @@ -6,6 +6,10 @@ return { opts = {}, }, opts = { + close_if_last_window = true, + filesystem = { + hijack_netrw_behavior = "open_default", + }, window = { mappings = { ["e"] = "open",