nixos-config/dotfiles/dot_config/yazi/keymap.toml

6 lines
322 B
TOML

[manager]
prepend_keymap = [
{ on = "<C-d>", run = "shell 'ripdrag \"$@\" -x 2>/dev/null &' --confirm" },
{ 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" }
]