Files
dotfiles/archive/.config/nvim/lua/kickstart/plugins/neo-tree.lua
T
avinal c2786c7f96 feat: major update to all configs
- move older config to archive

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
2026-03-26 12:11:58 +05:30

39 lines
855 B
Lua

-- Neo-tree is a Neovim plugin to browse the file system
-- https://github.com/nvim-neo-tree/neo-tree.nvim
return {
'nvim-neo-tree/neo-tree.nvim',
version = '*',
dependencies = {
'nvim-lua/plenary.nvim',
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
'MunifTanjim/nui.nvim',
},
cmd = 'Neotree',
keys = {
{ '\\', ':Neotree reveal<CR>', { desc = 'NeoTree reveal' } },
},
opts = {
filesystem = {
window = {
mappings = {
['\\'] = 'close_window',
},
position = 'right',
},
filtered_items = {
visible = true,
show_dotfiles = false,
show_hidden_count = true,
hide_gitignored = true,
hide_by_name = {
-- '.git',
},
never_show = {
'.git',
},
},
},
},
}