Skip to content

blackdaemon/yatline-tab-path.yazi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

yatline-tab-path.yazi

An addon for yatline.yazi to allow colorizing the tab_path section. You can have separate colors for the path and for the filter and also customize the filter labels.

Requirements

Installation

ya pack -a blackdaemon/yatline-tab-path.yazi

Usage

Important

Add this to your ~/.config/yazi/init.lua after yatline.yazi initialization.

With default settings:

require("yatline-tab-path"):setup()

Overriding the default settings:

require("yatline-tab-path"):setup({
    path_fg = "cyan",
    filter_fg = "brightyellow",
    search_label = " search",
    filter_label = " filter",
    no_filter_label = "",
    flatten_label = " flatten",
    separator = "",
})

Then, add it in one of your sections in the yatline configuration using:

{ type = "coloreds", custom = false, name = "tab_path" }

NOTE: It differs from the default tab_path provided by yatline.yazi in that it's of type coloreds instead of string.

Credits

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages