mirror of
https://github.com/harivansh-afk/nvim.git
synced 2026-04-15 09:01:16 +00:00
nvim config
This commit is contained in:
commit
57407e8ef8
21 changed files with 984 additions and 0 deletions
29
lua/plugins/neo-tree.lua
Normal file
29
lua/plugins/neo-tree.lua
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
branch = "v3.x",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
cmd = "Neotree",
|
||||
keys = {
|
||||
{ "<leader>e", "<cmd>Neotree toggle<cr>", desc = "Toggle file explorer" },
|
||||
},
|
||||
config = function()
|
||||
require("neo-tree").setup({
|
||||
close_if_last_window = true,
|
||||
window = {
|
||||
width = 30,
|
||||
},
|
||||
filesystem = {
|
||||
filtered_items = {
|
||||
visible = true, -- Show filtered items (hidden files)
|
||||
hide_dotfiles = false, -- Show dotfiles
|
||||
hide_gitignored = false, -- Show git ignored files
|
||||
hide_hidden = false, -- Show hidden files on Windows
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue