mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 08:39:42 -04:00
new nvim config WIP
This commit is contained in:
parent
8163e330a0
commit
4c8fadee55
14 changed files with 463 additions and 0 deletions
24
nvim/lua/plugins/neotree.lua
Normal file
24
nvim/lua/plugins/neotree.lua
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
return {
|
||||
{
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
config = function()
|
||||
require("neo-tree").setup({
|
||||
window = {
|
||||
position = "left",
|
||||
width = 20,
|
||||
},
|
||||
--filesystem = {
|
||||
-- hijack_netrw_behavior = "disabled",
|
||||
--},
|
||||
})
|
||||
require("which-key").add({
|
||||
{ "<leader>e", ":Neotree<CR>", desc = "Neotree" }
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue