fixing yazi plugins

This commit is contained in:
Matt Nish-Lapidus 2025-04-04 14:45:27 -04:00
parent d618ecf02e
commit 38f162562e
17 changed files with 43 additions and 822 deletions

View file

@ -10,8 +10,6 @@
{ 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" "c"]; run = "yank"; desc = "Copy file"; }
{ on = ["c" "n"]; run = "copy filename"; desc = "Copy file name"; }
{ on = ["c" "N"]; run = "copy name_without_ext"; desc = "Copy file name without extension"; }
{ 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"; }
@ -26,15 +24,12 @@
{ on = "M"; run = "plugin mount"; }
{ on = "p"; run = "plugin smart-paste"; desc = "Paste into the hovered directory or CWD"; }
{ on = ["g" "l"]; run = "plugin lazygit"; desc = "lazygit"; }
{ on = "k"; run = "plugin arrow -1"; desc = "up"; }
{ on = "j"; run = "plugin arrow 1"; desc = "down"; }
{ on = "<Up>"; run = "plugin arrow -1"; desc = "up"; }
{ on = "<Down>"; run = "plugin arrow 1"; desc = "down"; }
# { on = "k"; run = "arrow -1"; desc = "up"; }
# { on = "j"; run = "arrow 1"; desc = "down"; }
# { on = "<Up>"; run = "arrow -1"; desc = "up"; }
# { on = "<Down>"; run = "arrow 1"; desc = "down"; }
{ on = "C"; run = "plugin ouch zip"; }
{ on = "T"; run = "plugin smart-tab"; desc = "Create a tab and enter the hovered directory"; }
{ on = "l"; run = "plugin smart-enter"; desc = "Enter the child directory, or open the file"; }
{ on = "<Enter>"; run = "plugin smart-enter"; desc = "Enter the child directory, or open the file"; }
{ on = "<Right>"; run = "plugin smart-enter"; desc = "Enter the child directory, or open the file"; }
{ on = "<Backspace>"; run = "remove"; }
{ on = [ "t" "s" ]; run = "plugin what-size"; desc = "Calc size of selection or cwd"; }
@ -42,9 +37,8 @@
{ on = ["d" "u"]; run = "plugin restore"; desc = "Restore last deleted files/folders"; }
{ on = ["d" "d"]; run = "remove"; desc = "Delete files/folders"; }
{ on = ["F" "g"]; run = "plugin fg"; desc = "Find file by content (fuzzy)"; }
{ on = ["F" "G"]; run = "plugin fg rg"; desc = "Find file by content (ripgrep)"; }
{ on = ["F" "f"]; run = "plugin fg fzf"; desc = "Find file by name (fuzzy)"; }
{ on = "f"; run = "find --smart"; desc = "Find file"; }
{ on = "F"; run = "filter --smart"; desc = "Find file"; }
];
};
settings = {