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.toml9
1 files changed, 8 insertions, 1 deletions
diff --git a/config/yazi/keymap.toml b/config/yazi/keymap.toml
index 8f3ca8a..7ab5ee7 100644
--- a/config/yazi/keymap.toml
+++ b/config/yazi/keymap.toml
@@ -2,14 +2,21 @@
[[manager.prepend_keymap]]
on = "<C-n>"
run = '''
- shell 'dragon-drop -x -i -T "$1"' --confirm
+ shell 'dragon-drop --and-exit --on-top "$@"' --confirm
'''
desc = "Open the drag and drop utility"
+
[[manager.prepend_keymap]]
on = "!"
run = 'shell "$SHELL" --block --confirm'
desc = "Open shell in the current directory"
+
[[manager.prepend_keymap]]
on = ["g", "d"]
run = 'cd ~/dl'
desc = "Open ~/dl"
+
+[[manager.prepend_keymap]]
+on = "l"
+run = 'plugin --sync smart-enter'
+desc = "Enter the child directory, or open the file"