Files
plugins/chmod.yazi
2024-06-21 21:14:45 +08:00
..
2024-06-21 21:14:45 +08:00
2024-06-21 21:14:45 +08:00
2024-06-21 21:14:45 +08: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).

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.