summaryrefslogtreecommitdiff
path: root/yazi/.config
diff options
context:
space:
mode:
Diffstat (limited to 'yazi/.config')
-rw-r--r--yazi/.config/yazi/keymap.toml9
-rw-r--r--yazi/.config/yazi/yazi.toml2
2 files changed, 11 insertions, 0 deletions
diff --git a/yazi/.config/yazi/keymap.toml b/yazi/.config/yazi/keymap.toml
new file mode 100644
index 0000000..f275171
--- /dev/null
+++ b/yazi/.config/yazi/keymap.toml
@@ -0,0 +1,9 @@
+[[mgr.prepend_keymap]]
+on = [ "<F2>" ]
+run = 'shell -- dragon -i -T %s'
+desc = "Drag and drop (dragon)"
+
+[[mgr.prepend_keymap]]
+on = "y"
+run = [ 'shell -- for path in %s; do echo "file://$path"; done | wl-copy -t text/uri-list', "yank" ]
+desc = "Copy file URIs to clipboard"
diff --git a/yazi/.config/yazi/yazi.toml b/yazi/.config/yazi/yazi.toml
new file mode 100644
index 0000000..7f1fde1
--- /dev/null
+++ b/yazi/.config/yazi/yazi.toml
@@ -0,0 +1,2 @@
+[mgr]
+show_hidden = true