summaryrefslogtreecommitdiff
path: root/yazi/keymap.toml
diff options
context:
space:
mode:
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"
+