diff --git a/.config/yazi/keymap.toml b/.config/yazi/keymap.toml index c415569d..dd46381d 100644 --- a/.config/yazi/keymap.toml +++ b/.config/yazi/keymap.toml @@ -38,6 +38,10 @@ prepend_keymap = [ { on = "!", run = 'shell "$SHELL" --block', desc = "Open shell here" }, # { on = "!", run = 'shell --block --interactive', desc = "Open shell here" }, { on = "", run = ''', shell 'dragon-drop -x -i -T "$1"' --confirm, ''', desc = "Drag and drop selection" }, + { on = [ + "g", + "r", + ], run = 'shell -- ya emit cd "$(git rev-parse --show-toplevel)"', desc = "Goto git root"}, ] [input]