feat: update system

This commit is contained in:
2024-06-24 19:50:16 +02:00
parent 3d91c3221e
commit eb85d22494
12 changed files with 254 additions and 135 deletions

View File

@@ -0,0 +1,22 @@
{ lib, config, ... }:
let
cfg = config.presets.remaps.half-page-scroll;
in
{
options.presets.remaps.half-page-scroll = {
enable = lib.mkEnableOption "half page scroll";
};
config = lib.mkIf cfg.enable {
keymaps = [
{
key = "<C-d>";
action = "<C-d>zz";
}
{
key = "<C-u>";
action = "<C-u>zz";
}
];
};
}