solorice/config/yazi/plugins/chmod.yazi
2025-01-15 13:40:35 +02:00
..
DO_NOT_MODIFY_ANYTHING_IN_THIS_DIRECTORY Use dotter 2024-08-28 09:02:07 +03:00
init.lua Update 2025-01-11 2025-01-11 18:19:28 +02:00
LICENSE Use dotter 2024-08-28 09:02:07 +03:00
main.lua Update yazi packages 2025-01-15 13:40:35 +02:00
README.md Update: 2024-10-17 2024-10-18 09:09:49 +03:00

chmod.yazi

Execute chmod on the selected files to change their mode. This plugin is only available on Unix platforms since it relies on chmod(2).

https://github.com/yazi-rs/plugins/assets/17523360/7aa3abc2-d057-498c-8473-a6282c59c464

Installation

ya pack -a yazi-rs/plugins:chmod

Usage

Add this to your ~/.config/yazi/keymap.toml:

[[manager.prepend_keymap]]
on   = [ "c", "m" ]
run  = "plugin chmod"
desc = "Chmod on selected files"

Make sure the c => m key is not used elsewhere.

License

This plugin is MIT-licensed. For more information check the LICENSE file.