mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Restructure Darwin configuration
So far, this is just based on mightymac. The other devices will be updated soon.
This commit is contained in:
parent
ce3a1b5e20
commit
f95cc09e13
45 changed files with 14 additions and 18 deletions
24
modules/hosts/common/files/nvim/lua/plugins/neo-tree.lua
Normal file
24
modules/hosts/common/files/nvim/lua/plugins/neo-tree.lua
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue