aboutsummaryrefslogtreecommitdiff
path: root/config/yazi
diff options
context:
space:
mode:
Diffstat (limited to 'config/yazi')
-rw-r--r--config/yazi/keymap.toml11
-rw-r--r--config/yazi/yazi.toml4
2 files changed, 15 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"
diff --git a/config/yazi/yazi.toml b/config/yazi/yazi.toml
new file mode 100644
index 0000000..bf5487d
--- /dev/null
+++ b/config/yazi/yazi.toml
@@ -0,0 +1,4 @@
+[manager]
+linemode = "size"
+sort_by = "modified"
+sort_reverse = true