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
|
||||
];
|
||||
|
||||
|
||||
|
||||
colorschemes.catppuccin.enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
wl-clipboard
|
||||
|
||||
@@ -118,9 +118,8 @@
|
||||
};
|
||||
mode = [ "n" "v" ];
|
||||
}
|
||||
# Neotree
|
||||
{
|
||||
action = ":Neotree toggle<CR>";
|
||||
action = ":lua Snacks.explorer()<CR>";
|
||||
key = "<Space>e";
|
||||
options = {
|
||||
silent = true;
|
||||
|
||||
@@ -7,9 +7,10 @@
|
||||
./fidget.nix
|
||||
./guess-indent.nix
|
||||
./lualine.nix
|
||||
./neotree.nix
|
||||
# ./neotree.nix
|
||||
./telescope.nix
|
||||
./treesitter.nix
|
||||
./snacks.nix
|
||||
];
|
||||
|
||||
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