From 4a95aabffb27c121ebccb921b218679ce3e4142a Mon Sep 17 00:00:00 2001 From: Nick Zana Date: Sun, 14 Nov 2021 20:23:56 -0500 Subject: [PATCH] Add NerdTree --- lua/keybindings.lua | 2 ++ lua/plugins.lua | 1 + 2 files changed, 3 insertions(+) diff --git a/lua/keybindings.lua b/lua/keybindings.lua index a1a0110..606d9eb 100644 --- a/lua/keybindings.lua +++ b/lua/keybindings.lua @@ -21,6 +21,8 @@ map('n', '', 'l', options) map('t', '', '', options) -- Exit Terminal mode enter Normal -- FILE NAVIGATION +-- NerdTree +map('n', 'nt', 'NERDTreeToggle', options) map('n', '', 'Telescope git_files', options) map('n', '', 'Telescope find_files', options) -- Grep for prompted str project wide diff --git a/lua/plugins.lua b/lua/plugins.lua index 41e4f2d..d14f765 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -13,6 +13,7 @@ local plugins = require('packer').startup(function(use) 'nvim-telescope/telescope.nvim', -- search and select tool requires = { {'nvim-lua/plenary.nvim'} } } + use 'preservim/nerdtree' -- git use 'tpope/vim-fugitive'