dotfiles/.config/yazi/keymap.toml

22 lines
547 B
TOML

"$schema" = "https://yazi-rs.github.io/schemas/keymap.json"
# [manager]
# prepend_keymap = [{ on = "<C-n>", run = '''
# shell 'dragon-drop -x -i -T "$1"' --confirm
# ''' }]
[manager]
keymap = [
{ on = "e", run = "arrow -1", desc = "Move cursor up" },
{ on = "n", run = "arrow 1", desc = "Move cursor down" },
]
[[manager.prepend_keymap]]
on = "!"
run = 'shell --block --interactive'
desc = "Open shell here"
[[manager.prepend_keymap]]
on = "<C-n>"
run = '''
shell 'dragon-drop -x -i -T "$1"' --confirm
'''
desc = "Drag and drop selection"