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-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 ]]
-- See `:help lua-guide-autocommands`
@ -636,6 +636,7 @@ require('lazy').setup({
cmd = { 'clangd', '--offset-encoding=utf-16' },
},
cmake = {},
julials = {},
-- gopls = {},
-- pyright = {},
-- rust_analyzer = {},

View File

@ -25,15 +25,14 @@ return {
},
},
{
'nvim-tree/nvim-tree.lua',
version = '*',
lazy = false,
'nvim-neo-tree/neo-tree.nvim',
branch = 'v3.x',
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',