mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
So far, this is just based on mightymac. The other devices will be updated soon.
24 lines
578 B
Lua
24 lines
578 B
Lua
return {
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
lazy = false,
|
|
branch = "v3.x",
|
|
dependencies = {
|
|
"nvim-lua/plenary.nvim",
|
|
"nvim-tree/nvim-web-devicons",
|
|
"MunifTanjim/nui.nvim",
|
|
},
|
|
config = function()
|
|
vim.g.loaded_netrw = 1
|
|
vim.g.loaded_netrwPlugin = 1
|
|
vim.keymap.set("n", "<C-n>", ":Neotree toggle<CR>", {})
|
|
require("neo-tree").setup({
|
|
filesystem = {
|
|
follow_current_file = {
|
|
enabled = true,
|
|
},
|
|
hijack_netrw_behavior = "open_default",
|
|
},
|
|
follow_current_file = { enabled = true },
|
|
})
|
|
end,
|
|
}
|