Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.13 KB

README.md

File metadata and controls

55 lines (40 loc) · 1.13 KB
Yazi logo

Line - simple lualine-like plugin for Yazi

👀 Preview

🎨 Installation

ya pack -a dangooddd/line

⚙️ Usage

Add these lines to your init.lua configuration file to use it:

require("line"):setup()

This plugin was created to provide lualine-like style of separators (one separator for left side of statusline, one for right side), so configuration is dead simple.

Configuration options:

require("line"):setup({
    -- mode names to display in statusline
    mode = {
        normal = "NORMAL",
        select = "SELECT",
        unset = "UNSET"
    },
    -- lualine style separators between sections
    separators = {
        left = "",
        right = ""
    }
})

This plugin will use colors specified in theme.toml, check [mode] section.

📜 License

This plugin is MIT-licensed.

Check the LICENSE file for more details.