✨ feat(yazi): yank now copies the file to the clipboard
This commit is contained in:
parent
c799671713
commit
ba8dee2fb7
1 changed files with 8 additions and 2 deletions
|
@ -43,6 +43,12 @@ prepend_keymap = [
|
|||
{ on = [
|
||||
"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" },
|
||||
]
|
||||
|
||||
append_keymap = [
|
||||
|
@ -62,8 +68,8 @@ append_keymap = [
|
|||
], run = "cd ~/videos/", desc = "Go to the videos directory" },
|
||||
{ on = [
|
||||
"g",
|
||||
"i",
|
||||
], run = "cd ~/pictures/", desc = "Go to the images directory" },
|
||||
"p",
|
||||
], run = "cd ~/pictures/", desc = "Go to the pictures directory" },
|
||||
{ on = [
|
||||
"g",
|
||||
"s",
|
||||
|
|
Loading…
Add table
Reference in a new issue