diff --git a/home/programs/neovim.nix b/home/programs/neovim.nix index 6633ce6..3770c13 100644 --- a/home/programs/neovim.nix +++ b/home/programs/neovim.nix @@ -48,7 +48,26 @@ action = "noh"; }; "w" = { - action = "bdeletebnext>"; + action = "bdeletebnext"; + }; + "1" = { + action = ":Neotree toggle"; + }; + }; + }; + plugins = { + neo-tree = { + enable = true; + addBlankLineAtTop = true; + enableDiagnostics = true; + enableGitStatus = true; + closeIfLastWindow = true; + buffers = { + followCurrentFile = true; + }; + filesystem = { + followCurrentFile = true; + useLibuvFileWatcher = true; }; }; };