Files
dotfiles/.config/nvim/lua/kickstart/plugins/neo-tree.lua
T
avinal 4555248b72 update: create configuration for new tools
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
2025-06-27 19:51:11 +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',
},
},
},
},
}