🌿 About
Yazi is my preferred file manager for the terminal. There's options like xplr, lf or ranger, but I feel like yazi is a next-gen file manager, written in Rust, with a plugin ecosystem written in Lua. Its fast, easy to use and so customizable.
The plugins I'm using are the following:
The added keymaps are located on this file.
If you wanna check the theme or add another one, you can do so in the flavors folder. After that make sure to edit theme.toml and add that new flavor name.
Any other configurations are inside the yazi.toml file, like if you wanna add other programs when opening certain type of files or modify the fetchers.
Be sure to read the docs if you wanna know all the options available.
🔧 Setup
📦 Plugins Installation
Yazi has a plugin manager built in, called ya
. To manage yazi plugins you can use the next commands:
# Add a plugin
ya pack -a <plugin-name>
# Install plugins
ya pack -i
# To update all extensions
ya pack -u
NOTE
Check the docs for every extensions to find the exact commands and the next steps to take, like initializing the plugins in the init.lua file
There are some packages that cannot be managed with ya
. You can clone them with git like this:
git clone <repo-link> ~/.config/yazi/plugins/<plugin-name>
WARNING
If you dont install all the plugins I have, make sure to remove their init calls (basically, the require("plugin-name") call) on this file or yazi will not launch.
📷 Gallery
Repo |
---|
Rust Code inside a Repo |
---|
Image Preview |
---|