aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/yazi/keymap.toml
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/yazi/keymap.toml')
-rw-r--r--dot_config/yazi/keymap.toml27
1 files changed, 21 insertions, 6 deletions
diff --git a/dot_config/yazi/keymap.toml b/dot_config/yazi/keymap.toml
index b7ed5c7..a86b251 100644
--- a/dot_config/yazi/keymap.toml
+++ b/dot_config/yazi/keymap.toml
@@ -1,9 +1,24 @@
[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" },
+ { 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" },
]