From cd33736cd3748d95e4d186aefb330874a917b75f Mon Sep 17 00:00:00 2001 From: dish Date: Sun, 15 Feb 2026 15:44:16 -0500 Subject: [PATCH] [neovim] blink.indent -> snacks.indent --- neovim/basics.nix | 1 - neovim/plugins/blink-indent.nix | 16 ---------------- neovim/plugins/snacks.nix | 19 ++++++++++++++++++- 3 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 neovim/plugins/blink-indent.nix diff --git a/neovim/basics.nix b/neovim/basics.nix index b4c330ed..928cd7cb 100644 --- a/neovim/basics.nix +++ b/neovim/basics.nix @@ -3,7 +3,6 @@ imports = [ # keep-sorted start ./plugins/blink-cmp.nix - ./plugins/blink-indent.nix ./plugins/colorizer.nix ./plugins/lualine.nix ./plugins/nvim-lint.nix diff --git a/neovim/plugins/blink-indent.nix b/neovim/plugins/blink-indent.nix deleted file mode 100644 index c43b942a..00000000 --- a/neovim/plugins/blink-indent.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ pkgs, ... }: -{ - config.vim = { - lazy.plugins."blink.indent" = { - package = pkgs.vimPlugins.blink-indent; - setupModule = "blink.indent"; - event = [ - { - event = "User"; - pattern = "LazyFile"; - } - ]; - setupOpts = { }; - }; - }; -} diff --git a/neovim/plugins/snacks.nix b/neovim/plugins/snacks.nix index e1e3fb8e..397dd3b2 100644 --- a/neovim/plugins/snacks.nix +++ b/neovim/plugins/snacks.nix @@ -8,8 +8,17 @@ notify = true; size = 1024 * 1024; }; + explorer = { + enabled = true; + replace_netrw = true; + trash = false; + }; + indent.enabled = true; image.enabled = true; - picker.enabled = true; + picker = { + enabled = true; + sources.explorer.layout.layout.width = 20; + }; quickfile.enabled = true; }; }; @@ -30,6 +39,14 @@ desc = "Find Git Files"; silent = true; } + { + key = "fe"; + mode = "n"; + action = "function() Snacks.picker.explorer() end"; + lua = true; + desc = "File Explorer"; + silent = true; + } ]; }; } -- 2.51.2