From 4a983ce09fade84d9dc91193c75211d64ecf258a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sun, 13 Oct 2024 01:24:54 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20config(yazi):=20update=20k?= =?UTF-8?q?eymap=20to=20yank=20files=20to=20the=20clipboard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/yazi/keymap.toml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.config/yazi/keymap.toml b/.config/yazi/keymap.toml index 9a265f0a..595baa40 100644 --- a/.config/yazi/keymap.toml +++ b/.config/yazi/keymap.toml @@ -44,11 +44,8 @@ prepend_keymap = [ "T", ], run = "plugin --sync hide-preview", desc = "Hide or show the preview" }, { on = [ - "y", - ], run = [ - '''shell 'for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list' --confirm''', - "yank", - ], desc = "yank files and copy to clipboard" }, + "", + ], run = '''shell 'for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list' --confirm''', desc = "Copy to clipboard" }, { on = "A", run = "create --dir", desc = "Create a dir" }, ]