diff --git a/lua/keymaps.lua b/lua/keymaps.lua index 6d640a1..bb4ed64 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -81,6 +81,8 @@ vim.keymap.set('n', 'd', 'tabclose', { desc = 'Close Tab' vim.keymap.set('n', ']', 'tabnext', { desc = 'Next Tab' }) vim.keymap.set('n', '[', 'tabprevious', { desc = 'Previous Tab' }) +vim.keymap.set('n', '\\', 'Neotree toggle', { desc = 'Toggle Neotree' }) + -- Toggle LLM Suggestions vim.keymap.set('n', 'tt', function() local cp = require 'copilot.suggestion' diff --git a/lua/plugins/neo-tree.lua b/lua/plugins/neo-tree.lua new file mode 100644 index 0000000..dacde08 --- /dev/null +++ b/lua/plugins/neo-tree.lua @@ -0,0 +1,10 @@ +return { + 'nvim-neo-tree/neo-tree.nvim', + branch = 'v3.x', + dependencies = { + 'nvim-lua/plenary.nvim', + 'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended + 'MunifTanjim/nui.nvim', + -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information + }, +}