mirror of
https://github.com/Superredstone/nixvim.git
synced 2026-03-07 20:18:07 +01:00
feat(plugins): replace neo-tree with snacks.explorer
This commit is contained in:
@@ -8,8 +8,6 @@
|
|||||||
./plugins
|
./plugins
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
colorschemes.catppuccin.enable = true;
|
colorschemes.catppuccin.enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
{ ... }:
|
|
||||||
{
|
|
||||||
plugins.neo-tree = {
|
|
||||||
enable = true;
|
|
||||||
window = {
|
|
||||||
width = 30;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
11
config/plugins/snacks.nix
Normal file
11
config/plugins/snacks.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
plugins.snacks = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
explorer = {
|
||||||
|
enabled = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user