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