nix/home/config/keyd/module/Jetbrains.nix

27 lines
641 B
Nix
Raw Normal View History

{ config, pkgs, ... }: {
2024-06-22 23:34:03 +03:00
file = (pkgs.formats.ini {}).generate "KeydJetbrainsConfig" {
2024-06-18 11:07:11 +03:00
"jetbrains-*" = {
"alt./" = "C-/";
"alt.=" = "C-A-l";
"alt.a" = "C-A-5";
"alt.c" = "S-escape";
"alt.capslock" = "C-A-S-insert";
"alt.d" = "S-f9";
"alt.e" = "A-right";
"alt.f" = "C-S-f";
"alt.g" = "macro(gd)";
"alt.i" = "C-i";
"alt.n" = "C-A-n";
"alt.o" = "C-o";
"alt.q" = "A-left";
"alt.r" = "S-f10";
"alt.s" = "C-A-s";
"alt.tab" = "timeout(f8, ${toString config.setting.timeout.keyd}, macro2(0, 0, f7))";
2024-06-18 11:07:11 +03:00
"alt.v" = "C-q";
"alt.w" = "C-S-A-t";
"alt.x" = "C-f4";
"alt.z" = "C-f2";
};
};
2024-04-30 20:40:32 +03:00
}