aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/yazi/keymap.toml
blob: a86b2515369116e11c0b2979a8ebfb0013e06331 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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" },
]