refactoring

This commit is contained in:
Matt Nish-Lapidus 2025-02-20 13:51:36 -05:00
parent 5f2a3018c3
commit cfdeb09d16
8 changed files with 69 additions and 48 deletions

View file

@ -10,6 +10,7 @@
{ on = ["c" "d"]; run = "shell 'ripdrag \"$@\" -x 2>/dev/null &' --confirm"; desc = "drag selection";}
{ on = "y"; run = ["shell 'for path in \"$@\"; do echo \"file://$path\"; done | wl-copy -t text/uri-list'\n" "yank"]; }
{ 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 = ["t" "p"]; run = "plugin toggle-view parent"; desc = "Toggle parent"; }
{ on = ["t" "c"]; run = "plugin toggle-view current"; desc = "Toggle current"; }
{ on = ["t" "r"]; run = "plugin toggle-view preview"; desc = "Toggle preview"; }