2024-10-11 23:27:07 +03:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
file = (pkgs.formats.ini { }).generate "KeydFirefoxConfig" {
|
|
|
|
"firefox-esr" = {
|
|
|
|
"alt.capslock" = "C-t"; # New tab.
|
|
|
|
"alt.x" = "C-w"; # Close tab.
|
|
|
|
"alt.u" = "C-S-t"; # Restore closed tab.
|
|
|
|
"alt.q" = "C-pageup"; # Prev tab.
|
|
|
|
"alt.e" = "C-pagedown"; # Next tab.
|
|
|
|
"alt.Q" = "C-S-pageup"; # Move tab left.
|
|
|
|
"alt.E" = "C-S-pagedown"; # Move tab right.
|
|
|
|
"alt.a" = "A-left"; # Go back.
|
|
|
|
"alt.d" = "A-right"; # Go forward.
|
|
|
|
"alt.s" = "down"; # Scroll down.
|
|
|
|
"alt.w" = "up"; # Scroll up.
|
|
|
|
"alt.f" = "C-f"; # Find text.
|
|
|
|
"alt.N" = "S-f3"; # Find prev.
|
|
|
|
"alt.n" = "f3"; # Find next.
|
|
|
|
"alt.space" = "f6"; # Focus address bar.
|
|
|
|
"alt.r" = "C-f5"; # Full refresh.
|
|
|
|
"alt.l" = "A-S-a"; # Toggle dark mode.
|
2024-10-24 22:11:22 +03:00
|
|
|
"alt.enter" = "C-S-l"; # Fill password.
|
2024-10-11 23:27:07 +03:00
|
|
|
};
|
|
|
|
};
|
2024-04-28 21:24:49 +03:00
|
|
|
}
|