Add keybinding for neotree

This commit is contained in:
Pim Kunis 2025-02-25 22:27:31 +01:00
parent ce920f42e5
commit 8bc32b1fe9
2 changed files with 11 additions and 4 deletions

View file

@ -4,5 +4,5 @@
...
}:
flake-utils.lib.eachDefaultSystem (system: {
formatter = self.packages.${system}.formatter;
inherit (self.packages.${system}) formatter;
})

View file

@ -25,10 +25,17 @@ flake-utils.lib.eachDefaultSystem (system: let
notify.nvim-notify.enable = true;
projects.project-nvim.enable = true;
comments.comment-nvim.enable = true;
extraPlugins.vim-sleuth.package = pkgs.vimPlugins.vim-sleuth;
extraPlugins.vim-sleuth = {
package = pkgs.vimPlugins.vim-sleuth;
};
keymaps = [
{
key = "<C-e>";
mode = ["n"];
action = ":Neotree toggle<CR>";
silent = true;
desc = "Toggle Neotree";
}
];
lsp = {
formatOnSave = true;