mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 19:46:20 +00:00
20 lines
336 B
Nix
20 lines
336 B
Nix
{ lib, config, ... }:
|
|
let
|
|
cfg = config.presets.remaps.no-accidental-macro;
|
|
in
|
|
{
|
|
options.presets.remaps.no-accidental-macro = {
|
|
enable = lib.mkEnableOption "no accidental macro";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
keymaps = [
|
|
{
|
|
key = "Q";
|
|
mode = "n";
|
|
action = "<nop>";
|
|
}
|
|
];
|
|
};
|
|
}
|