mirror of
https://github.com/darwincereska/nvim-config.git
synced 2026-02-12 08:34:41 -05:00
feat(working): first working condition
This commit is contained in:
@@ -9,7 +9,32 @@ return {
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
config = function()
|
||||
require("config.plugin.neo-tree")
|
||||
require("neo-tree").setup({
|
||||
close_if_last_window = true,
|
||||
hijack_netrw_behavior = "disabled",
|
||||
filesystem = {
|
||||
filtered_items = {
|
||||
hide_gitignored = true,
|
||||
hide_hidden = true,
|
||||
},
|
||||
follow_current_file = { enabled = true },
|
||||
},
|
||||
git_status = {
|
||||
enable = true,
|
||||
},
|
||||
window = {
|
||||
position = "left",
|
||||
auto_expand_width = false,
|
||||
hijack_netrw_behavior = "disabled",
|
||||
width = 35,
|
||||
mappings = {
|
||||
["<space>"] = "toggle_node",
|
||||
["<2-LeftMouse>"] = "open",
|
||||
["e"] = function() vim.api.nvim_exec("Neotree focus filesystem", true) end,
|
||||
["g"] = function() vim.api.nvim_exec("Neotree focus git_status", true) end,
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user