fix(yazi): fix paste once more time
This commit is contained in:
1 parent
21833bc8ef
commit
8ad31f9ef6
1 file changed
+7
-5
@@ -72,6 +72,13 @@ on = [ "V" ]
|
|||||||
run = 'visual_mode'
|
run = 'visual_mode'
|
||||||
desc = "Enter 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]]
|
[[mgr.prepend_keymap]]
|
||||||
on = "<C-y>"
|
on = "<C-y>"
|
||||||
run = ["plugin wl-clipboard"]
|
run = ["plugin wl-clipboard"]
|
||||||
@@ -97,11 +104,6 @@ on = "f"
|
|||||||
run = "plugin jump-to-char"
|
run = "plugin jump-to-char"
|
||||||
desc = "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]]
|
[[mgr.prepend_keymap]]
|
||||||
on = "<C-Enter>"
|
on = "<C-Enter>"
|
||||||
run = 'shell "xdg-open %s" --confirm'
|
run = 'shell "xdg-open %s" --confirm'
|
||||||
|
|||||||
Reference in new issue
Block a user