Minimalistic, informative and elegant statusline for neovim. Plugin uses colors from your current colorscheme, so it looks natural. It adapts if you change colorscheme or switch to a light or a dark theme.
Neovim v0.7.0 and newer.
use "strash/everybody-wants-that-line.nvim"
Plug "strash/everybody-wants-that-line.nvim"
These are the defaults.
-- if you ok with defaults
require("everybody-wants-that-line").setup()
-- if you hate defaults
require("everybody-wants-that-line").setup({
buffer = {
show = true,
prefix = "B:",
-- Symbol before buffer number, e.g. "0000.".
-- If you don't want additional symbols to be displayed, set `buffer.max_symbols = 0`.
symbol = "0",
-- Maximum number of symbols including buffer number.
max_symbols = 5,
},
filepath = {
-- `path` can be one of these:
-- "tail" - file name only
-- "relative" - relative to working directory
-- "full" - full path to the file
path = "relative",
-- If `true` the path will be shortened, e.g. "/a/b/c/filename.lua".
-- It only works if `path` is "relative" or "full".
shorten = false,
},
filesize = {
-- `metric` can be:
-- "decimal" - 1000 bytes == 1 kilobyte
-- "binary" - 1024 bytes == 1 kibibyte
metric = "decimal"
},
-- Separator between blocks, e.g. " ... │ ... │ ... "
separator = "│",
})
If you found a bug please open an issue or request a feature. All contributions are welcome! Just open a PR.