Added nixvim

This commit is contained in:
Superredstone committed 2025-04-10 11:26:13 +02:00
1 parent 5b6f8916f8
commit a82e6c87e0
16 files changed
+478 -30

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
{ ... }:
{
programs.nixvim.plugins.comment = {
enable = true;
settings.toggler = {
block = "<C-x>";
line = "<C-c>";
};
};
}
+20
View File
@@ -0,0 +1,20 @@
{ ... }:
{
programs.nixvim.plugins.dashboard = {
enable = true;
settings.config = {
header = [
" ███▄ █ ▓█████ ▒█████ ██▒ █▓ ██▓ ███▄ ▄███▓"
" ██ ▀█ █ ▓█ ▀ ▒██▒ ██▒▓██░ █▒▓██▒▓██▒▀█▀ ██▒"
"▓██ ▀█ ██▒▒███ ▒██░ ██▒ ▓██ █▒░▒██▒▓██ ▓██░"
"▓██▒ ▐▌██▒▒▓█ ▄ ▒██ ██░ ▒██ █░░░██░▒██ ▒██ "
"▒██░ ▓██░░▒████▒░ ████▓▒░ ▒▀█░ ░██░▒██▒ ░██▒"
"░ ▒░ ▒ ▒ ░░ ▒░ ░░ ▒░▒░▒░ ░ ▐░ ░▓ ░ ▒░ ░ ░"
"░ ░░ ░ ▒░ ░ ░ ░ ░ ▒ ▒░ ░ ░░ ▒ ░░ ░ ░"
" ░ ░ ░ ░ ░ ░ ░ ▒ ░░ ▒ ░░ ░ "
" ░ ░ ░ ░ ░ ░ ░ ░ "
];
footer = [ "Made with ❤️" ];
};
};
}
+22
View File
@@ -0,0 +1,22 @@
{ ... }:
{
imports = [
./telescope.nix
./treesitter.nix
./comment.nix
./lualine.nix
./dashboard.nix
./neotree.nix
];
programs.nixvim.plugins = {
web-devicons.enable = true;
bufferline.enable = true;
toggleterm.enable = true;
gitsigns.enable = true;
which-key.enable = true;
autoclose.enable = true;
markview.enable = true;
nvim-surround.enable = true;
};
}
+6
View File
@@ -0,0 +1,6 @@
{ ... }:
{
programs.nixvim.plugins.lualine = {
enable = true;
};
}
+10
View File
@@ -0,0 +1,10 @@
{ ... }:
{
programs.nixvim.plugins.neo-tree = {
enable = true;
window = {
width = 30;
};
};
}
+10
View File
@@ -0,0 +1,10 @@
{ ... }:
{
programs.nixvim.plugins.telescope = {
enable = true;
keymaps = {
"<Space>f" = "find_files";
"<Space>g" = "live_grep";
};
};
}
+11
View File
@@ -0,0 +1,11 @@
{ ... }:
{
programs.nixvim.plugins.treesitter = {
enable = true;
settings = {
highlight = {
enable = true;
};
};
};
}