From b3124eb582761eb6cabce38ff2c0efd058008fc9 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 19 Sep 2024 10:07:57 +0200 Subject: [PATCH] nvim: Change nvim tree to neotree plugin --- nvim/.config/nvim/lua/plugins/pickers.lua | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/nvim/.config/nvim/lua/plugins/pickers.lua b/nvim/.config/nvim/lua/plugins/pickers.lua index 7637b6d..c8d1053 100644 --- a/nvim/.config/nvim/lua/plugins/pickers.lua +++ b/nvim/.config/nvim/lua/plugins/pickers.lua @@ -15,13 +15,20 @@ return { event = { "BufEnter" }, }, -- integrate file manager { - "nvim-tree/nvim-tree.lua", -- integrate file tree - config = true, - dependencies = { "nvim-tree/nvim-web-devicons", config = true }, - cmd = "NvimTreeToggle", - keys = { - { "se", "NvimTreeToggle", desc = "filetree", silent = true }, + "nvim-neo-tree/neo-tree.nvim", + dependencies = { + "MunifTanjim/nui.nvim", + "nvim-lua/plenary.nvim", + { "nvim-tree/nvim-web-devicons", optional = true }, }, + cmd = "Neotree", + opts = { + source_selector = { winbar = true }, + }, + keys = { + { "se", "Neotree toggle left", desc = "filetree", silent = true }, + }, + lazy = false }, { "MagicDuck/grug-far.nvim", lazy = false, opts = {} }, -- fuzzy matching picker