Add keybinding for neotree
This commit is contained in:
parent
ce920f42e5
commit
8bc32b1fe9
2 changed files with 11 additions and 4 deletions
|
@ -4,5 +4,5 @@
|
|||
...
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (system: {
|
||||
formatter = self.packages.${system}.formatter;
|
||||
inherit (self.packages.${system}) formatter;
|
||||
})
|
||||
|
|
13
packages.nix
13
packages.nix
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue