mirror of
https://github.com/darwincereska/nvim-config.git
synced 2026-02-12 06:24:42 -05:00
28 lines
779 B
Lua
28 lines
779 B
Lua
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,
|
|
},
|
|
},
|
|
})
|
|
|