mirror of
https://github.com/avinal/dotfiles.git
synced 2026-07-03 23:20:07 +05:30
c2786c7f96
- move older config to archive Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
39 lines
855 B
Lua
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',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|