aboutsummaryrefslogtreecommitdiff
path: root/config/yazi/keymap.toml
diff options
context:
space:
mode:
Diffstat (limited to 'config/yazi/keymap.toml')
-rw-r--r--config/yazi/keymap.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/yazi/keymap.toml b/config/yazi/keymap.toml
new file mode 100644
index 0000000..4247c4c
--- /dev/null
+++ b/config/yazi/keymap.toml
@@ -0,0 +1,11 @@
+# from: https://yazi-rs.github.io/docs/tips
+[[manager.prepend_keymap]]
+on = "<C-n>"
+run = '''
+ shell 'dragon-drop -x -i -T "$1"' --confirm
+'''
+desc = "Open the drag and drop utility"
+[[manager.prepend_keymap]]
+on = "!"
+run = 'shell "$SHELL" --block --confirm'
+desc = "Open shell in the current directory"