Added missing nvim config files

This commit is contained in:
Zackarias Montell
2025-05-15 11:41:38 +02:00
parent 243b759813
commit f69e928131
11 changed files with 459 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
-- Neo-tree is a Neovim plugin to browse the file system
-- https://github.com/nvim-neo-tree/neo-tree.nvim
return {
'nvim-neo-tree/neo-tree.nvim',
version = '*',
dependencies = {
'nvim-lua/plenary.nvim',
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
'MunifTanjim/nui.nvim',
},
cmd = 'Neotree',
keys = {
{ '\\', ':Neotree toggle<CR>', desc = 'NeoTree reveal', silent = true },
},
opts = {
event_handlers = {
{
event = 'file_open_requested',
handler = function()
vim.cmd 'Neotree close'
end,
},
},
filesystem = {
window = {
mappings = {
['\\'] = 'close_window',
},
},
},
},
}