From d73842825477c851ca88ae697f0e7e0e5ab0ec3b Mon Sep 17 00:00:00 2001 From: maddiebaka Date: Wed, 8 Jan 2025 18:43:17 -0500 Subject: [PATCH] Add nvim-tree --- config/config/nvim/init.vim | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/config/config/nvim/init.vim b/config/config/nvim/init.vim index d4e44d2..90f84d4 100644 --- a/config/config/nvim/init.vim +++ b/config/config/nvim/init.vim @@ -25,8 +25,17 @@ call plug#begin() Plug 'simrat39/rust-tools.nvim' Plug 'dracula/vim' Plug 'ryanoasis/vim-devicons' - Plug 'scrooloose/nerdtree' + Plug 'nvim-tree/nvim-tree.lua' + Plug 'nvim-tree/nvim-web-devicons' Plug 'mhinz/vim-startify' call plug#end() colorscheme dracula + +lua << EOF +vim.keymap.set('n', '', ':NvimTreeToggle', { + noremap = true +}) +EOF + +lua require'nvim-tree'.setup {}