Skip to content

Yazi plugin for opening files with a prompted command

License

Notifications You must be signed in to change notification settings

Ape/open-with-cmd.yazi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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"