diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-12-11 11:46:09 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-12-11 11:46:09 +0900 |
| commit | 8c0fe8d0d0dd4bbd16c1095e25b2e3ffa1fdb0d3 (patch) | |
| tree | 597b8dfd730eda9b410fb6082b0bee7fcc7e70e2 /fedora/.config/yazi/plugins/sudo-demo.yazi/README.md | |
| parent | 74713d79880967f5f0f8652c6741bc5fa63a8794 (diff) | |
updates
Diffstat (limited to 'fedora/.config/yazi/plugins/sudo-demo.yazi/README.md')
| -rw-r--r-- | fedora/.config/yazi/plugins/sudo-demo.yazi/README.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/fedora/.config/yazi/plugins/sudo-demo.yazi/README.md b/fedora/.config/yazi/plugins/sudo-demo.yazi/README.md new file mode 100644 index 0000000..8068691 --- /dev/null +++ b/fedora/.config/yazi/plugins/sudo-demo.yazi/README.md @@ -0,0 +1,25 @@ +# sudo-demo.yazi + +Just an example showing how to use `sudo` in a Yazi plugin, and the plugin itself doesn't offer any features beyond logging a message. + +## Installation + +```sh +ya pkg add yazi-rs/plugins:sudo-demo +``` + +## Usage + +Add this to your `~/.config/yazi/keymap.toml`: + +```toml +[[mgr.prepend_keymap]] +on = "<C-t>" +run = "plugin sudo-demo" +``` + +Press <kbd>Ctrl</kbd> + <kbd>t</kbd> to run the plugin, you should [see a message in the log](https://yazi-rs.github.io/docs/plugins/overview#logging). + +## License + +This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file. |
