summaryrefslogtreecommitdiff
path: root/yazi/keymap.toml
diff options
context:
space:
mode:
authorsubh <subh@subh.space>2026-04-03 14:47:03 +0530
committersubh <subh@subh.space>2026-04-03 14:47:03 +0530
commit314d760de1922128124f2a9be0494fd4f6f7effb (patch)
tree3f4bb374fc89be2b1cd4e2a0a21ae17d4bf83452 /yazi/keymap.toml
parent0203dd4b8d45c663356f797c11be17fdec6f22f2 (diff)
new music bar, auto usb mounting and more
Diffstat (limited to 'yazi/keymap.toml')
-rw-r--r--yazi/keymap.toml68
1 files changed, 68 insertions, 0 deletions
diff --git a/yazi/keymap.toml b/yazi/keymap.toml
new file mode 100644
index 0000000..4099a34
--- /dev/null
+++ b/yazi/keymap.toml
@@ -0,0 +1,68 @@
+[[mgr.prepend_keymap]]
+on = [ "c", "a", "a" ]
+run = "plugin compress"
+desc = "Archive selected files"
+
+[[mgr.prepend_keymap]]
+on = [ "c", "a", "p" ]
+run = "plugin compress -p"
+desc = "Archive selected files (password)"
+
+[[mgr.prepend_keymap]]
+on = [ "c", "a", "h" ]
+run = "plugin compress -ph"
+desc = "Archive selected files (password+header)"
+
+[[mgr.prepend_keymap]]
+on = [ "c", "a", "l" ]
+run = "plugin compress -l"
+desc = "Archive selected files (compression level)"
+
+[[mgr.prepend_keymap]]
+on = [ "c", "a", "u" ]
+run = "plugin compress -phl"
+desc = "Archive selected files (password+header+level)"
+
+[[mgr.prepend_keymap]]
+on = [ "c", "m" ]
+run = "plugin chmod"
+esc = "Chmod on selected files"
+
+[[mgr.prepend_keymap]]
+on = ["c","x"]
+run = "plugin lin-decompress -- --no-password"
+desc = "Extract hovered."
+
+[[mgr.prepend_keymap]]
+on = ["c","p"]
+run = "plugin lin-decompress"
+desc = "Extract hovered. Password"
+
+[[mgr.prepend_keymap]]
+on = ["c","a"]
+run = "plugin lin-decompress -- --no-hover --tabselect=all"
+desc = "Extract selected in all tabs"
+
+[[mgr.prepend_keymap]]
+on = ["c","A"]
+run = "plugin lin-decompress -- --tabselect=all"
+desc = "Extract selected in all tabs. Hovered included"
+
+[[mgr.prepend_keymap]]
+on = ["c","x","c"]
+run = "plugin lin-decompress -- --no-hover --tabselect=current"
+desc = "Extract selected in current tab only"
+
+[[mgr.prepend_keymap]]
+on = "<C-y>"
+run = [ "yank", 'plugin clipboard -- --action=copy' ]
+
+[[mgr.prepend_keymap]]
+on = "<C-p>"
+run = [ 'plugin clipboard -- --action=paste' ]
+
+[[mgr.prepend_keymap]]
+on = [ "R" ]
+run = "plugin rsync"
+desc = "Copy files using rsync"
+