⚙️ config(yazi): update keymap to yank files to the clipboard
This commit is contained in:
parent
b1b1e2f229
commit
4a983ce09f
1 changed files with 2 additions and 5 deletions
|
@ -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" },
|
||||
"<C-y>",
|
||||
], 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" },
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue