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, ... }: {
file = (pkgs.formats.ini {}).generate "KeydFirefoxConfig" {
"firefox-esr" = {
"alt.E" = "C-S-pagedown";
"alt.N" = "S-f3";
"alt.Q" = "C-S-pageup";
"alt.a" = "A-left";
"alt.capslock" = "C-t";
"alt.d" = "A-right";
"alt.e" = "C-pagedown";
"alt.f" = "C-f";
"alt.l" = "A-S-a";
"alt.n" = "f3";
"alt.p" = "C-S-l";
"alt.q" = "C-pageup";
"alt.r" = "C-f5";
"alt.s" = "down";
"alt.space" = "f6";
"alt.u" = "C-S-t";
"alt.w" = "up";
"alt.x" = "C-w";
"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.
"alt.p" = "C-S-l"; # Fill password.
};
};
}

View file

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