mount.yazi

December 31, 2024 ยท View on GitHub

This is a Yazi plugin for mounting volumes.

Installation

Install the plugin:

ya pack -a SL-RU/mount

Download latest pre-compiled binary here: https://github.com/SL-RU/mmtui/releases

Or clone and build from source https://github.com/SL-RU/mmtui, copy the path of the compiled binary mmtui.

In ~/.config/yazi/keymap.toml add. But make sure that executable mmtui is in the $PATH env variable:

[[manager.prepend_keymap]]
on   = "M"
run  = "plugin mount"
desc = "Mount manager"

If you need to set custom path for mmtui add this and replace /path/to/mmtui with your path:

[[manager.prepend_keymap]]
on   = "M"
run  = "plugin mount --args=/path/to/mmtui"
desc = "Mount manager"