From 3836cc96b969d771c8cf0bc5264a73b734e89a85 Mon Sep 17 00:00:00 2001 From: cswimr Date: Mon, 10 Feb 2025 23:05:22 -0600 Subject: [PATCH] add neo-tree plugin --- nixos/nvim/default.nix | 1 + nixos/nvim/plugins/neo-tree.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 nixos/nvim/plugins/neo-tree.nix diff --git a/nixos/nvim/default.nix b/nixos/nvim/default.nix index ebadc39..ba5506b 100644 --- a/nixos/nvim/default.nix +++ b/nixos/nvim/default.nix @@ -18,6 +18,7 @@ ./plugins/lazygit.nix ./plugins/lsp.nix ./plugins/lualine.nix + ./plugins/neo-tree.nix ./plugins/profile.nix ./plugins/rooter.nix ./plugins/snacks.nix diff --git a/nixos/nvim/plugins/neo-tree.nix b/nixos/nvim/plugins/neo-tree.nix new file mode 100644 index 0000000..051c093 --- /dev/null +++ b/nixos/nvim/plugins/neo-tree.nix @@ -0,0 +1,19 @@ +{ + programs.nixvim = { + plugins.neo-tree = { + enable = true; + enableGitStatus = true; + }; + keymaps = [ + { + mode = "n"; + key = "e"; + action = "Neotree toggle"; + options = { + desc = "Toggle Neotree"; + silent = true; + }; + } + ]; + }; +}