dotfiles/.config/yazi/plugins/open-with-cmd.yazi
2025-02-12 12:05:05 -05:00
..
LICENSE AutoYADM commit: 2025-02-12 12:05:05 2025-02-12 12:05:05 -05:00
main.lua AutoYADM commit: 2025-02-12 12:05:05 2025-02-12 12:05:05 -05:00
README.md AutoYADM commit: 2025-02-12 12:05:05 2025-02-12 12:05:05 -05:00

open-with-cmd.yazi

This is a Yazi plugin for opening files with a prompted command.

Installation

Install the plugin:

ya pack -a Ape/open-with-cmd

Create ~/.config/yazi/keymap.toml and add:

[[manager.prepend_keymap]]
on   = "o"
run  = "plugin open-with-cmd --args=block"
desc = "Open with command in the terminal"

[[manager.prepend_keymap]]
on   = "O"
run  = "plugin open-with-cmd"
desc = "Open with command"