Init commit

This commit is contained in:
2025-10-01 06:45:38 -04:00
commit 7df2053a80
10 changed files with 394 additions and 0 deletions

45
config/config.nix Normal file
View File

@@ -0,0 +1,45 @@
{
colorschemes.catppuccin.enable = true;
globals = {
mapleader = " ";
};
opts = {
number = true;
relativenumber = true;
spell = true;
spellfile = "~/.config/nvim/spell/en.utf-8.add";
shiftwidth = 2;
};
keymaps = [
{
mode = "n";
key = "<leader>s";
action = "[s";
}
{
mode = "n";
key = "<leader>S";
action = "]s";
}
{
mode = "n";
key = "<leader>z";
action = "z=";
}
{
mode = "n";
key = "<leader>Z";
action = "1z=";
}
{
mode = "n";
key = "<leader>N";
action = ":bprev<CR>";
}
{
mode = "n";
key = "<leader>n";
action = ":bnext<CR>";
}
];
}