add core configuration

This commit is contained in:
Chance 2025-03-29 21:03:07 -04:00
parent ad124505da
commit c556ce55b6
Signed by untrusted user: caznix
GPG key ID: 489D213143D753FD
94 changed files with 2816 additions and 959 deletions

View file

@ -0,0 +1,32 @@
{...}: {
programs.nixvim = {
globals = {
mapleader = " ";
maplocalleader = " ";
};
keymaps = [
{
mode = ["n" "v"];
key = "<SPACE>";
action = "<NOP>";
options.silent = true;
}
{
mode = "n";
key = "<LEADER>,";
action = "A,<ESC>";
options.silent = true;
}
{
mode = "n";
key = "<LEADER>sf";
action.__raw = "require('telescope.builtin').find_files";
options = {
silent = true;
desc = "[S]earch [F]iles";
};
}
];
};
}