diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-09-13 20:49:49 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-09-13 20:49:49 +0900 |
| commit | bdc608acabe856db2134642816cc806b34894863 (patch) | |
| tree | 61cbcb30acbcafb56853bb77e5c89efae8f52dc2 /ar/.config/yazi/plugins/sudo-demo.yazi/README.md | |
| parent | 805711c3406fd5360486460bcc6dfb6f741fd69c (diff) | |
modified shell/bm-dirs, modified shell/bm-files, created yazi/
Diffstat (limited to 'ar/.config/yazi/plugins/sudo-demo.yazi/README.md')
| -rw-r--r-- | ar/.config/yazi/plugins/sudo-demo.yazi/README.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ar/.config/yazi/plugins/sudo-demo.yazi/README.md b/ar/.config/yazi/plugins/sudo-demo.yazi/README.md new file mode 100644 index 0000000..8068691 --- /dev/null +++ b/ar/.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. |
