aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/yazi/keymap.toml
diff options
context:
space:
mode:
Diffstat (limited to 'home/.config/yazi/keymap.toml')
-rw-r--r--home/.config/yazi/keymap.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/home/.config/yazi/keymap.toml b/home/.config/yazi/keymap.toml
new file mode 100644
index 0000000..b7ed5c7
--- /dev/null
+++ b/home/.config/yazi/keymap.toml
@@ -0,0 +1,9 @@
+[mgr]
+prepend_keymap = [
+ { on = "!", run = 'shell "$SHELL" --block', desc = "Open shell here" },
+ { on = [ "g", "r" ], run = 'shell -- ya emit cd "$(git rev-parse --show-toplevel 2>/dev/null || echo .)"', desc = "Go to git root" },
+ { on = [ "g", "." ], run = "cd ~/dotfiles", desc = "Go to dotfiles" },
+ { on = [ "g", "x" ], run = "cd ~/doxfiles", desc = "Go to doxfiles" },
+ { on = [ "g", "s" ], run = "cd ~/sync", desc = "Go to sync" },
+ { on = [ "g", "S" ], run = "cd ~/pics/screenshots", desc = "Go to screenshots" },
+]