From 8ad31f9ef6ad7f8c088f6c92c6d01cafc630c604 Mon Sep 17 00:00:00 2001 From: Beesquit Date: Sun, 11 Oct 2026 01:09:16 +0300 Subject: [PATCH] fix(yazi): fix paste once more time --- .config/yazi/keymap.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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'