AutoYADM commit: 2025-02-12 12:05:05
This commit is contained in:
parent
02c7130b8d
commit
263cb2c1c0
6 changed files with 70 additions and 3 deletions
25
.config/yazi/plugins/open-with-cmd.yazi/README.md
Normal file
25
.config/yazi/plugins/open-with-cmd.yazi/README.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# 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"
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue