From 924df96e8d9a2664b35710d0c0bfd368abc1fb43 Mon Sep 17 00:00:00 2001 From: Nydragon <6582485n@proton.me> Date: Sun, 12 Feb 2023 20:34:04 +0100 Subject: [PATCH] simplified tree auto opening mechanism --- firefox/cookie_cache | Bin 196608 -> 196608 bytes nvim/lua/nvim-tree-config.lua | 11 ++++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/firefox/cookie_cache b/firefox/cookie_cache index ad4fafc9ed39f3e5790e3508833c58824d772d08..8167dd023cc1d1dc399e73182556e4fa4c9b8d22 100644 GIT binary patch delta 95 zcmZo@;Av>!nIO%WI8nx#F|jdWYXW1#87{pWmm(S4+@+R9Zhv)#v08=m`kxjcU-ClB x_Pmdb54kumTWSLNqP$w$BmOXQbMhQ!%>?pUZf06^IZiL!#VE49nU$&b7XZWSBjNx6 delta 95 zcmZo@;Av>!nIO#=K2gS*F}yKhYXW1#87^&68wbWV=Wqds?XS)-R;zF>UzyI>=Jv8S yV|(65#)n*-lk!}E{3}i_+avxka&z+Zqyz)`=PZIPx*Vq$?qU?#-ptBW`wIY4CL-ei diff --git a/nvim/lua/nvim-tree-config.lua b/nvim/lua/nvim-tree-config.lua index ce6e255..4674fb4 100644 --- a/nvim/lua/nvim-tree-config.lua +++ b/nvim/lua/nvim-tree-config.lua @@ -2,11 +2,12 @@ vim.g.loaded_netrw = 1 vim.g.loaded_netrwPlugin = 1 require("nvim-tree").setup() +require'nvim-tree'.toggle(false,true) -local function open_nvim_tree() +--local function open_nvim_tree() - -- open the tree - require("nvim-tree.api").tree.open() -end + ---- open the tree + --require("nvim-tree.api").tree.open() +--end -vim.api.nvim_create_autocmd({ "VimEnter" }, { callback = open_nvim_tree }) +--vim.api.nvim_create_autocmd({ "VimEnter" }, { callback = open_nvim_tree })