working on keyboards some more

This commit is contained in:
Matt Nish-Lapidus 2025-05-20 23:14:58 -04:00
parent 3dad064b3d
commit 65b5562502
3 changed files with 48 additions and 32 deletions

View file

@ -86,12 +86,20 @@
{ on = "!"; run = "shell '$SHELL' --block"; desc = "Open shell here"; }
{ on = ["c" "d"]; run = "shell 'ripdrag \"$@\" -x 2>/dev/null &' --confirm"; desc = "Drag selection";}
{ on = ["c" "y"]; run = "yank"; desc = "Copy file (yank)"; }
{ on = "y"; run = ["shell 'for path in \"$@\"; do echo \"file://$path\"; done | wl-copy -t text/uri-list'\n" "yank"]; desc = "Yank selected files (copy)"; }
{ on = ["c" "c"]; run = ["shell 'for path in \"$@\"; do echo \"file://$path\"; done | wl-copy -t text/uri-list'\n" "yank"]; desc = "Copy file (yank)"; }
{ on = ["c" "p"]; run = "copy path"; desc = "Copy file path"; }
{ on = ["c" "u"]; run = "unyank"; desc = "Cancel file copy"; }
{ on = ["g" "r"]; run = "shell 'ya emit cd \"$(git rev-parse --show-toplevel)\"'\n"; desc = "Go to top of git repo"; }
{ on = ["g" "p"]; run = "cd ~/Projects"; desc = "Go to ~/Projects"; }
{ on = "v"; run = "paste"; }
{ on = "V"; run = "paste --force"; }
{ on = "e"; run = "visual"; }
{ on = "E"; run = "visual --unset"; }
{ on = "<C-t>"; run ="tab_create"; }
{ on = "<C-w>"; run ="close"; }
{ on = "<C-A-right>"; run ="tab_switch 1 --relative"; }
@ -105,8 +113,6 @@
{ on = "M"; run = "plugin mount"; }
{ on = "p"; run = "plugin smart-paste"; desc = "Paste into the hovered directory or CWD"; }
{ on = "C"; run = "plugin ouch zip"; }
{ on = "T"; run = "plugin smart-tab"; desc = "Create a tab and enter the hovered directory"; }