.dotfiles/.config/yazi/plugins/chmod.yazi
2025-05-08 20:48:25 -04:00
..
LICENSE include plugins 2025-05-08 20:48:25 -04:00
main.lua include plugins 2025-05-08 20:48:25 -04:00
README.md include plugins 2025-05-08 20:48:25 -04: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).

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.