feat(plugins): replace neo-tree with snacks.explorer

This commit is contained in:
2025-08-09 21:48:36 +02:00
parent 621a0531bc
commit cb84b4c505
5 changed files with 14 additions and 14 deletions

View File

@@ -8,8 +8,6 @@
./plugins ./plugins
]; ];
colorschemes.catppuccin.enable = true; colorschemes.catppuccin.enable = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
wl-clipboard wl-clipboard

View File

@@ -118,9 +118,8 @@
}; };
mode = [ "n" "v" ]; mode = [ "n" "v" ];
} }
# Neotree
{ {
action = ":Neotree toggle<CR>"; action = ":lua Snacks.explorer()<CR>";
key = "<Space>e"; key = "<Space>e";
options = { options = {
silent = true; silent = true;

View File

@@ -7,9 +7,10 @@
./fidget.nix ./fidget.nix
./guess-indent.nix ./guess-indent.nix
./lualine.nix ./lualine.nix
./neotree.nix # ./neotree.nix
./telescope.nix ./telescope.nix
./treesitter.nix ./treesitter.nix
./snacks.nix
]; ];
plugins = { plugins = {

View File

@@ -1,9 +0,0 @@
{ ... }:
{
plugins.neo-tree = {
enable = true;
window = {
width = 30;
};
};
}

11
config/plugins/snacks.nix Normal file
View File

@@ -0,0 +1,11 @@
{ ... }:
{
plugins.snacks = {
enable = true;
settings = {
explorer = {
enabled = true;
};
};
};
}