https://github.com/ape/open-with-cmd.yazi
Yazi plugin for opening files with a prompted command
https://github.com/ape/open-with-cmd.yazi
yazi yazi-plugin
Last synced: 7 months ago
JSON representation
Yazi plugin for opening files with a prompted command
- Host: GitHub
- URL: https://github.com/ape/open-with-cmd.yazi
- Owner: Ape
- License: mit
- Created: 2024-07-12T14:09:40.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-09T10:09:29.000Z (8 months ago)
- Last Synced: 2025-02-09T11:20:13.042Z (8 months ago)
- Topics: yazi, yazi-plugin
- Language: Lua
- Homepage:
- Size: 5.86 KB
- Stars: 25
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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"
```