repositories / dotfiles
dotfiles
bugabingas dorkfiles
owned by admin
yazi/keymap.toml
Raw# A TOML linter such as Tombi can use this schema to validate your config.
#:schema https://yazi-rs.github.io/schemas/keymap.json
[[mgr.prepend_keymap]]
on = "l"
run = "plugin smart-enter"
desc = "Enter directory or open file"
[[mgr.prepend_keymap]]
on = "<Enter>"
run = "plugin smart-enter"
desc = "Enter directory or open file"
[[mgr.prepend_keymap]]
on = "p"
run = "plugin smart-paste"
desc = "Paste into hovered directory or CWD"
[[mgr.prepend_keymap]]
on = "f"
run = "plugin smart-filter"
desc = "Smart filter"
[[mgr.prepend_keymap]]
on = "T"
run = "plugin toggle-pane min-preview"
desc = "Show or hide preview pane"
[[mgr.prepend_keymap]]
on = "F"
run = "plugin toggle-pane max-preview"
desc = "Maximize or restore preview pane"
[[mgr.prepend_keymap]]
on = [ "c", "m" ]
run = "plugin chmod"
desc = "Chmod selected files"
[[mgr.prepend_keymap]]
on = [ "c", "D" ]
run = "plugin diff"
desc = "Diff selected file with hovered file"
[[mgr.prepend_keymap]]
on = [ "c", "y" ]
for = "unix"
run = 'shell -- for path in %s; do echo "file://$path"; done | wl-copy -t text/uri-list'
desc = "Copy selected files to system clipboard"
[[mgr.prepend_keymap]]
on = "!"
for = "unix"
run = 'shell "$SHELL" --block'
desc = "Open shell here"
[[mgr.prepend_keymap]]
on = [ "g", "w" ]
run = "cd ~/Workspace"
desc = "Go ~/Workspace"
[[mgr.prepend_keymap]]
on = [ "g", "k" ]
run = "cd ~/Workspace/dotfiles"
desc = "Go dotfiles"
[[mgr.prepend_keymap]]
on = [ "g", "n" ]
run = "cd ~/Notes"
desc = "Go notes"
[[mgr.prepend_keymap]]
on = [ "g", "y" ]
run = "cd ~/.config/yazi"
desc = "Go Yazi config"
[[mgr.prepend_keymap]]
on = [ "g", "r" ]
run = 'shell -- ya emit cd "$(git rev-parse --show-toplevel 2>/dev/null || jj root 2>/dev/null || pwd)"'
desc = "Go repository root"
[[input.prepend_keymap]]
on = "<Esc>"
run = "close"
desc = "Cancel input"