mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 17:37:43 -04:00
Can it be this easy to make nvim stuff just work? Do I really just need to pull the files in with Home Manager? It seems so, so long as nvim knows about gcc :) There is also a related side of tmux here because it all ties together.
25 lines
593 B
Lua
25 lines
593 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 = {
|
|
hijack_netrw_behavior = "open_default"
|
|
},
|
|
follow_current_file = { enabled = true },
|
|
source_selector = {
|
|
winbar = true,
|
|
statusline = false
|
|
}
|
|
})
|
|
end
|
|
}
|