Initial commit for astronvim v4 configuration

This commit is contained in:
Xavier Logerais
2024-05-17 19:55:13 +02:00
committed by Xavier Logerais
parent 73890a9ca5
commit dbe1a472b2
29 changed files with 938 additions and 0 deletions

View File

@ -0,0 +1,27 @@
return {
{
"nvim-neo-tree/neo-tree.nvim",
opts = {
window = {
width = 50,
mappings = {
["<space>"] = false, -- disable space until we figure out which-key disabling
[">"] = "next_source",
["<"] = "prev_source",
},
},
event_handlers = {
{
event = "file_opened",
handler = function(file_path)
-- auto close
-- vimc.cmd("Neotree close")
-- OR
require("neo-tree.command").execute({ action = "close" })
end
},
},
close_if_last_window = true,
},
}
}