Add neo-tree
This commit is contained in:
parent
497990316a
commit
d54c469e2d
1 changed files with 11 additions and 2 deletions
|
@ -37,6 +37,10 @@ in
|
|||
nixd
|
||||
];
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
nerdfonts
|
||||
];
|
||||
|
||||
#################### Neovim configuration ####################
|
||||
imports = [ nixvim.nixosModules.nixvim ];
|
||||
|
||||
|
@ -61,6 +65,11 @@ in
|
|||
};
|
||||
|
||||
keymaps = [
|
||||
{
|
||||
key = "T";
|
||||
action = "<cmd>Neotree<cr>";
|
||||
options.silent = true;
|
||||
}
|
||||
{
|
||||
key = "<C-h>";
|
||||
action = "<cmd>TmuxNavigateLeft<cr>";
|
||||
|
@ -84,7 +93,6 @@ in
|
|||
];
|
||||
|
||||
# TODO Autocomplete
|
||||
# TODO Filebrowser
|
||||
# TODO Check desireable keybinds and commands for all plugins
|
||||
plugins = {
|
||||
gitsigns.enable = true;
|
||||
|
@ -93,6 +101,7 @@ in
|
|||
settings.options.iconsEnabled = false;
|
||||
};
|
||||
markdown-preview.enable = true;
|
||||
neo-tree.enable = true;
|
||||
nix.enable = true;
|
||||
rainbow-delimiters.enable = true;
|
||||
sleuth.enable = true;
|
||||
|
@ -106,6 +115,7 @@ in
|
|||
settings.indent.enable = true;
|
||||
nixGrammars = true;
|
||||
};
|
||||
web-devicons.enable = true;
|
||||
|
||||
# cmp-vsnip.enable = true;
|
||||
friendly-snippets.enable = true;
|
||||
|
@ -145,7 +155,6 @@ in
|
|||
};
|
||||
};
|
||||
lsp-format.enable = true;
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue