Use NeoTree over nvim-tree

This commit is contained in:
Max Luebke 2025-01-29 16:36:11 +01:00
parent f9e5ec2ec8
commit 0934c7e25c
2 changed files with 8 additions and 8 deletions

View File

@ -196,7 +196,7 @@ vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right win
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' }) vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' }) vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
vim.keymap.set('n', '<leader>tt', '<cmd>NvimTreeToggle<CR>', { desc = 'Toggle Nvim[T]ree' }) vim.keymap.set('n', '<leader>tt', '<cmd>Neotree<CR>', { desc = 'Toggle Neo[T]ree' })
-- [[ Basic Autocommands ]] -- [[ Basic Autocommands ]]
-- See `:help lua-guide-autocommands` -- See `:help lua-guide-autocommands`
@ -636,6 +636,7 @@ require('lazy').setup({
cmd = { 'clangd', '--offset-encoding=utf-16' }, cmd = { 'clangd', '--offset-encoding=utf-16' },
}, },
cmake = {}, cmake = {},
julials = {},
-- gopls = {}, -- gopls = {},
-- pyright = {}, -- pyright = {},
-- rust_analyzer = {}, -- rust_analyzer = {},

View File

@ -25,15 +25,14 @@ return {
}, },
}, },
{ {
'nvim-tree/nvim-tree.lua', 'nvim-neo-tree/neo-tree.nvim',
version = '*', branch = 'v3.x',
lazy = false,
dependencies = { dependencies = {
'nvim-tree/nvim-web-devicons', 'nvim-lua/plenary.nvim',
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
'MunifTanjim/nui.nvim',
-- {"3rd/image.nvim", opts = {}}, -- Optional image support in preview window: See `# Preview Mode` for more information
}, },
config = function()
require('nvim-tree').setup {}
end,
}, },
{ {
'windwp/nvim-autopairs', 'windwp/nvim-autopairs',