diff --git a/.config/yazi/keymap.toml b/.config/yazi/keymap.toml index 409cbff..c62bf0f 100644 --- a/.config/yazi/keymap.toml +++ b/.config/yazi/keymap.toml @@ -72,6 +72,13 @@ on = [ "V" ] run = 'visual_mode' desc = "Enter visual mode" +[[mgr.prepend_keymap]] +on = [ "y" ] +run = [ +'shell -- for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list', +"yank" +] + [[mgr.prepend_keymap]] on = "" run = ["plugin wl-clipboard"] @@ -97,11 +104,6 @@ on = "f" run = "plugin jump-to-char" desc = "Jump to char" -[[mgr.prepend_keymap]] -on = "p" -run = "plugin smart-paste" -desc = "Paste into the hovered directory or CWD" - [[mgr.prepend_keymap]] on = "" run = 'shell "xdg-open %s" --confirm'