201 current 2025-01-11 03:49:34 25.05.20241217.d3c42f1 6.6.66 *

This commit is contained in:
2025-01-11 03:49:42 -05:00
parent e6941cd9d9
commit 78fa152540
2 changed files with 35 additions and 0 deletions

View File

@@ -41,6 +41,10 @@
plugin = nerdcommenter;
config = toLuaFile ./plugins/nerdcommenter.lua;
}
{
plugin = nvim-tree-lua;
config = toLuaFile ./plugins/nerdtree.lua;
}
];
# extraConfig = lib.fileContents ./init.vim;

View File

@@ -0,0 +1,31 @@
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.opt.termguicolors = true
require('nvim-tree').setup()
require('nvim-tree').setup({
sort_by = 'case_sensitive',
view = {
adaptive_size = false,
mappings = {
list = {
{ key = 'u', action = 'dir_up' },
},
},
width = 30,
},
renderer = {
group_empty = true,
},
filters = {
dotfiles = true,
exclude = {".git", ".jpg", ".mp4", ".ogg", ".iso", ".pdf", ".odt", ".png", ".gif", ".db", ".class"},
},
actions = {
open_file = {
resize_window = false
}
},
})