diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua index 15fc275..e90da35 100644 --- a/nvim/.config/nvim/init.lua +++ b/nvim/.config/nvim/init.lua @@ -636,7 +636,7 @@ require('lazy').setup({ { -- Highlight, edit, and navigate code "nvim-treesitter/nvim-treesitter", build = ":TSUpdate", - main = "nvim-treesitter.configs", -- Sets main module to use for opts + main = "nvim-treesitter.config", -- Sets main module to use for opts -- [[ Configure Treesitter ]] See `:help nvim-treesitter` opts = { ensure_installed = { diff --git a/nvim/.config/nvim/plugin/keybinds.lua b/nvim/.config/nvim/plugin/keybinds.lua index 5afa657..73fa66f 100644 --- a/nvim/.config/nvim/plugin/keybinds.lua +++ b/nvim/.config/nvim/plugin/keybinds.lua @@ -16,3 +16,9 @@ vim.keymap.set('n', '', '', { desc = 'Move focus to the left wind vim.keymap.set('n', '', '', { desc = 'Move focus to the right window' }) vim.keymap.set('n', '', '', { desc = 'Move focus to the lower window' }) vim.keymap.set('n', '', '', { desc = 'Move focus to the upper window' }) + +vim.keymap.set("n", "n", ":NERDTreeFocus") +vim.keymap.set("n", "", ":NERDTree") +vim.keymap.set("n", "", ":NERDTreeToggle") +vim.keymap.set("n", "", ":NERDTreeFind") +vim.keymap.set("n", "rf", ":NERDTreeRefreshRoot")