Keyd : Add Nautilus.

This commit is contained in:
Dmitry Voronin 2024-08-25 04:48:55 +03:00
parent de89576317
commit 1032c2f760
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
3 changed files with 65 additions and 38 deletions

View file

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

View file

@ -1,26 +1,27 @@
{ pkgs, ... }: { { pkgs, ... }: {
file = (pkgs.formats.ini {}).generate "KeydJetbrainsConfig" { file = (pkgs.formats.ini {}).generate "KeydJetbrainsConfig" {
"jetbrains-*" = { "jetbrains-*" = {
"alt./" = "C-/"; "alt./" = "C-/"; # Toggle comment.
"alt.=" = "C-A-l"; "alt.= " = "C-A-l"; # Reformat.
"alt.a" = "C-A-5"; "alt.c" = "S-escape"; # Close panel.
"alt.c" = "S-escape"; "alt.capslock" = "C-A-S-insert"; # New scratch file.
"alt.capslock" = "C-A-S-insert"; "alt.q" = "A-left"; # Prev tab.
"alt.d" = "S-f9"; "alt.e" = "A-right"; # Next tab.
"alt.e" = "A-right"; "alt.x" = "C-f4"; # Close tab.
"alt.f" = "C-S-f"; "alt.f" = "C-S-f"; # Find text.
"alt.g" = "macro(gd)"; "alt.n" = "C-A-n"; # Find next.
"alt.i" = "C-i"; "alt.g" = "macro(gd)"; # Go to definition.
"alt.n" = "C-A-n"; "alt.i" = "C-i"; # Implement.
"alt.o" = "C-o"; "alt.o" = "C-o"; # Override.
"alt.q" = "A-left"; "alt.r" = "S-f10"; # Run.
"alt.r" = "S-f10"; "alt.z" = "C-f2"; # Stop app.
"alt.s" = "C-A-s"; "alt.d" = "S-f9"; # Run debugger.
"alt.tab" = "timeout(f8, 150, macro2(0, 0, f7))"; "alt.a" = "C-A-5"; # Attach debugger.
"alt.v" = "C-q"; "alt.s" = "C-A-s"; # Settings.
"alt.w" = "C-S-A-t"; "alt.v" = "C-q"; # Show doc under cursor.
"alt.x" = "C-f4"; "alt.w" = "C-S-A-t"; # Refactor selection.
"alt.z" = "C-f2";
"alt.tab" = "timeout(f8, 150, macro2(0, 0, f7))"; # Tap to step over, hold to step into.
}; };
}; };
} }

View file

@ -0,0 +1,26 @@
{ pkgs, ... }: {
file = (pkgs.formats.ini {}).generate "KeydNautilusConfig" {
"org-gnome-nautilus" = {
"alt.capslock" = "C-t"; # New tab.
"alt.o" = "C-n"; # New window.
"alt.x" = "C-w"; # Close tab.
"alt.u" = "C-S-t"; # Restore tab.
"alt.e" = "C-pagedown"; # Next tab.
"alt.q" = "C-pageup"; # Prev tab.
"alt.E" = "C-S-pagedown"; # Move tab next.
"alt.Q" = "C-S-pageup"; # Move tab prev.
"alt.z" = "C-h"; # Toggle hidden files.
"alt.1" = "C-1"; # List view.
"alt.2" = "C-2"; # Grid view.
"alt.s" = "A-up"; # Go back.
"alt.space" = "C-l"; # Focus location bar.
"alt.A" = "C-S-i"; # Invert selection.
"alt.v" = "C-i"; # File info.
"alt.d" = "C-S-delete"; # Delete file.
"alt.w" = "f2"; # Rename.
"alt.a" = "C-S-n"; # Create dir.
"alt.f" = "C-f"; # Search dir.
"alt.r" = "f5"; # Refresh dir.
};
};
}